I'd always understood that it refers to the woodsmen touching the tree to placate the forest spirits living in there before he chopped the tree down.
I like some of the others though - especially 'touching cloth' - I had heard that referred to as 'ground-hogging'!!
JP-B