I had the same problem. In my case git could not find the global variable %HTTP_PROXY%
, simply because Windows was not providing/using it.
I solved it by excluding the variable from the git config file (located in %USERPROFILE%\.gitconfig
):
[http]
# proxy = %HTTP_PROXY%