Simple way to access github through a proxy server
exec /opt/local/bin/corkscrew my_proxy_host 80 $1 $2
[core] gitproxy="/Users/name/bin/gitproxy" for github.com