I have to use http proxy to connect to Git server. I am able to set it through Git Bash and use it too through the following command:
git config --global htt
You can set a proxy for Visual Studio as in https://msdn.microsoft.com/en-us/library/dn771556.aspx :
Find devenv.exe.config (the devenv.exe configuration file) in: %ProgramFiles%\Microsoft Visual Studio 14.0\Common7\IDE (or %ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE).
In the configuration file, find the
block, and add this code: XML
"/>
You must insert the correct proxy address for your network in proxyaddress="http://.