Git Proxy

Configure proxy for Git

Configure proxy for Git

To configure proxy for both HTTP and HTTPS, run:

git config --global http.proxy http://proxy.example.com

To check the configuration:

git config --list --show-origin

To edit:

git config --global -e

References

https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/netconfig.md#http-proxy

https://git-scm.com/docs/git-config#Documentation/git-config.txt-httpproxy

https://github.com/fork-dev/TrackerWin/issues/2098

https://stackoverflow.com/questions/71941020/credential-manager-is-not-a-git-command

Code licensed under the MIT License; all other content under CC BY-SA 4.0.
Last updated on Apr 21, 2026 12:10 UTC
Built with Hugo
Theme Stack designed by Jimmy