title: git archive fatal: Operation not supported by protocol
body: <p>I'm trying to checkout part of remote git repository. As recommended <a href="https://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export">here</a>, with help of command </p>
  
  <pre><code>git archive --format=zip --remote=http://path_to_repository
  </code></pre>
  
  <p>But I'm getting error message:</p>
  
  <pre><code>fatal: Operation not supported by protocol.
  Unexpected end of command stream
  </code></pre>
  
  <p>Git is not supporting this operation with http protocol? Thats a problem of hosting environment or git itself? Any directions would help, thanks.</p>