git: remove environment methods
It turns out that the environment is not sufficient for a sensible set of git commands, so instead of potentially confusing child processes, do not try and tell them anything about what is going on with git in the workarea.