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?
For the git protocol (git://...), install socat and write a script such as:
#!/bin/sh exec socat - socks4:your.company.com:$1:$2
make it executable, put it in your path, and in your ~/.gitconfig set core.gitproxy to the name of that script.
~/.gitconfig
core.gitproxy