title: Using a socks proxy with git for the http transport
body: <p>How to make git use a socks proxy for HTTP transport?</p>
  
  <p>I succeed in configuring git with GIT_PROXY_COMMAND to use a socks proxy for GIT transport.</p>
  
  <p>Also, I have configured my .curlrc file to defined the socks proxy and I can fetch information directly with curl command like:</p>
  
  <pre><code>curl http://git.kernel.org/pub/scm/git/git.git/info/refs?service=git-upload-pack
  </code></pre>
  
  <p>But how to use a socks proxy with git to retrieve data using the HTTP transport protocol like:</p>
  
  <pre><code>git clone http://git.kernel.org/pub/scm/git
  </code></pre>