While operating an impact gun to remove bolts in a tight spot, the bolt broke free and the mechanic began pulling the impact gun out of the spot and caught thumb on a metal burr causing a cut requiring one stich on left thumb. The mechanic was wearing gloves.