Revert "fix git wrapper (#29069)"
Revert "fix git wrapper (#29069)"

This reverts commit f8005d27379c4d67bc86cf6af83ba1b1823bb10f.

fix needs to be rethought as it applies to only newer git versions
and use of env shell breaks with non 'bourne compatible' shells

thaim/ansible,thaim/ansible