title: On Windows git: “error: Sparse checkout leaves no entry on the working directory”
body: <p>I had the error:</p>
  
  <pre><code>“error: Sparse checkout leaves no entry on the working directory”
  </code></pre>
  
  <p>when trying to set up a sparse checkout in git on windows. I've answered my own question after researching the issue and finding the full answer spread out across the web.</p>