title: Git from behind a proxy - clone works - fetch/pull does not
body: <p>I am using ubuntu behind a socks5 proxy and trying to use the git protocol (as opposed to http which does work). I can get git clone working by compiling <a href="http://bent.latency.net/bent/git/goto-san-connect-1.85/src/connect.html" rel="nofollow">connect.c</a></p>
  
  <p>And by adding this to my ~/.ssh/config:</p>
  
  <pre><code>ProxyCommand connect -S socks-mydomain.co.uk %h %p
  </code></pre>
  
  <p>I have cloned a repo and have all the code, however now I am trying to merge in the changes from another repo. I have added it as a remote and now I get an error when doing this:</p>
  
  <pre><code>git fetch upstream
  
  github.com[0: 207.97.227.239]: errno=Connection timed out
  fatal: unable to connect a socket (Connection timed out)
  </code></pre>
  
  <p>As git clone works it seems strange that a fetch does not.
  Any idea why?</p>