title: Git error: fatal: unable to connect a socket (Invalid argument)
body: <p>I've got msysGit (Git on Windows) working just fine on my home machine, but at work, where we are behind a Microsoft ISA proxy, I get the following error when I do a git clone:</p>
  
  <pre><code>H:\&gt;git clone git://github.com/akitaonrails/vimfiles.git
  Initialized empty Git repository in H:/vimfiles/.git/
  github.com[0: 65.74.177.129]: errno=Invalid argument
  fatal: unable to connect a socket (Invalid argument)
  </code></pre>
  
  <p>I've tried setting the http_proxy environment variable to:</p>
  
  <pre><code>http://our-proxy-server:8088
  </code></pre>
  
  <p>I've set the git http.proxy configuration directive:</p>
  
  <pre><code>git config --global http.proxy http://our-proxy-server:8088
  </code></pre>
  
  <p>Neither of the above makes a difference.</p>
  
  <p>Doing a git clone with <code>http://</code> instead of <code>git://</code> yields this:</p>
  
  <pre><code>H:\&gt;git clone http://github.com/akitaonrails/vimfiles.git
  Initialized empty Git repository in H:/vimfiles/.git/
  fatal: http://github.com/akitaonrails/vimfiles.git/info/refs download error - The    requested URL returned error: 407
  </code></pre>
  
  <p>407 is of course an authentication error.</p>
  
  <p>So my question is: has anyone managed to get git working from behind a proxy, specifically an ISA proxy? I don't know if it's going to be worth pursing this. Any help very much appreciated.</p>
  
  <p>Thanks!</p>