Some of us are stuck behind a corporate firewall, but need to access all the great little github plugins through git! So what do you do?

Create the following wrapper:


Put your own values


nc -x${PROXY_IP}:${PROXY_PORT} -X5 $*

add this to your ~/.profile or ~/.bash_rc or whatever you use:

export GIT_PROXY_COMMAND=~/bin/proxy-wrapper

I stole this solution from