title: How do I download a directory from github
body: <p>Now I know there are several questions like this on overflow but several of these answers have failed miserably for me. I am using Cygwin, if it is relevant. I ran</p>
  
  <pre><code>svn export https://github.com/Wikia/app/tree/dev/extensions/wikia/AdminDashboard
  </code></pre>
  
  <p>to receive the result:</p>
  
  <pre><code>svn: E170000: URL 'http://github.com/Wikia/app/tree/dev/extensions/wikia/AdminDashboard' doesn't exist
  </code></pre>
  
  <p>I also ran </p>
  
  <pre><code>curl -L http://github.com/Wikia/app/tree/dev/extensions/wikia/AdminDashboard &gt; project.tar.gz
  </code></pre>
  
  <p>to receive a .tar.gz file that 7-Zip fails to read the file giving the error:</p>
  
  <p><img src="https://i.stack.imgur.com/CbeS0.png" alt="enter image description here"></p>