title: error: pathspec 'temp/versionX' did not match any file(s) known to git
body: <p>In git, I'm trying to check out versions of a specific repository into a version folder inside of a temp folder, but when I do</p>
  
  <pre><code>git checkout master~X C:/file/path/temp/versionX
  </code></pre>
  
  <p>I get the error</p>
  
  <pre><code>error: pathspec 'temp/versionX' did not match any file(s) known to git.
  </code></pre>
  
  <p>What's causing the problem and how do I fix it?</p>