Git.cmd: wrap in gitenv as suggested by @loladiro.

https://github.com/JuliaLang/julia/commit/59b3bd84b7efc8cb022788b93ba34bd90f0e465e#commitcomment-4052132