.ssh/config
Host github.com
User git
ProxyCommand nc -x 127.0.0.1:7890 %h %p
Host bitbucket.org
User git
ProxyCommand nc -x 127.0.0.1:7890 %h %p
Host github.com
User git
ProxyCommand connect -S 127.0.0.1:7890 %h %p
Host bitbucket.org
User git
ProxyCommand connect -S 127.0.0.1:7890 %h %p