It is not rare for a developer having to work behind corporate’s proxy. Following are the list of steps that I end up going through in getting development environment ready. I’ll update the list as going forward.

CAUTION with global configuration for git

Visual Studio does its authentication to proxy server in its own way and doesn’t understand http.proxy config as expected. Instead, it will just read entire http.proxy value as a proxy server address and try login with popup. This ends up failure even if you put your credential again.

So, use global configuration when you need to clone git repository from somewhere but make sure to remove the http.proxy config back from the file to make it work with Visual Studio.