First let https_proxy set the environment variable, which was exactly the setting that was working in msysgit 1.9.5.
How did not work, set the settings in the following ways Git itself:
1 - I configured HTTP (which is what's in the documentation): git config --global http.proxy "http: // user:
p...@proxy.com.br: 8080";
2 - How well it did not work, set another configuration as suggested in various forums: git config --global https.proxy "http: // user:
p...@proxy.com.br: 8080".
In all these cases it was unable to push.
I tested as suggested by you, Johannes: Setting the GIT_CURL_VERBOSE variable and try to make the push.
In response I got the following result:
< HTTP/1.0 407 Proxy Authentication Required
< Server: squid/3.1.14
< Mime-Version: 1.0
< Date: Fri, 21 Aug 2015 16:19:25 GMT
< Content-Type: text/html
< Content-Length: 1187
< X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
< Proxy-Authenticate: NTLM
< Proxy-Authenticate: Basic realm="PROXY"
< Connection: close
<
* Ignore 1187 bytes of response-body
* Connect me again please
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none
* SSL re-using session ID
* Closing connection 402
* Couldn't find host
github.com in the _netrc file; using defaults
* NTLM-proxy picked AND auth done set, clear picked!
* timeout on name lookup is not supported
* Trying 1.1.1.1...
User-Agent: git/2.5.0.windows.1
Proxy-Connection: Keep-Alive
This result me was printed several times, as if estives in an infinite loop.
P.S .: URLs and addresses are fictitious.