can you remove the parts in git.jl which call setenv, now that this is gone, and see if they work?