title: Restoring a Git archive
body: <p>I've followed the guides and managed to create a zip archive of my git repository, by doing this:</p>
  
  <pre><code>git archive HEAD --format=zip &gt; c:\myarchive.zip
  </code></pre>
  
  <p>The reason I want to do this is that I'm done with the project, so I'm going to delete the VM I've been doing development on, but I want a backup of the work I've done so that I can refer to it later if I need to.  However, I can't figure out how to open the zip file that is created.</p>
  
  <p>Normally, I would double-click on a zip file to open it, but when I do, I see this error:</p>
  
  <pre><code>Windows cannot open the folder.
  The Compressed (zipped) Folder 'C:\myarchive.zip' is invalid.'
  </code></pre>
  
  <p>I've tried recreating the zip file a couple of times, but it didn't change anything.  Any thoughts?</p>