title: How can I email someone a git repository?
body: <p>I have tried:</p>
  
  <pre><code>git archive HEAD --format=zip &gt; archive.zip
  </code></pre>
  
  <p>:and then I email archive.zip and at the other end they unzip archive.zip into a folder. But when they try any git commands they find out that this does not produce a valid git repository</p>