How to configure Git proxy?
If you are working in the corporate company all the internet requests usually goes through the corporate firewall. The Git will simply throw an error saying “Request timeout” whenever you try to access git fetch, pull or push.To solve this issue, we need to configure git proxy. Just open up the Git Bash or Powershell on your computer and then add the git config proxy user commands of git as shown below.
Configure Git proxy
Replace username with your proxy username
Replace password with your proxy password
Replace proxy.server.com with the proxy domain URL.
Replace 8080 with the proxy port no configured on the proxy server.
How to Remove Git Proxy?
git config --global --unset http.proxy
git config --global --unset https.proxy
How to Verify Currently Set Git Proxy?
git config --global --get http.proxy
git config --global --get https.proxy