How do I get Git to use a proxy server?
I need to check out code from a Git server, but it shows \"Request timed out\" every time. How do I get around this?
I have tried all the above answers and nothing worked for me, as there was a proxy password encoding issues.
This command worked:
git config --global http.proxy http://username@proxy.example.com:PortNumber
Do not enter the password in your command. It will dynamically ask for when you try to connect to any git repo.