Medieval Heretics and the Green Man

There is a general acceptance that the Green Man is a representation of a pagan deity, but this is not borne out by the abundance of Green Man carvings to be found on or within Christian churches. Could this contradiction be the clue that will lead to our understanding of this archaic figure? Why do we find the Green Many associated with churches?