The joke is a pun. A spruce tree is a widespread coniferous tree which has a distinctive conical shape and hanging cones, widely grown for timber, pulp, and Christmas trees. To 'spruce up' is to make (someone or something) look cleaner, neater, or more attractive.
Before he sold Christmas trees , he got himself spruced up .