title: Getting "error cannot stat" messages in Windows when attempting to switch branches
body: <p>I am new to Git and have been running smoothly until this snag. I have just worked on a branch <code>b1</code> and committed a number of changes, mostly involving moving files around to different folders. I then did  </p>
  
  <pre><code>git push
  git checkout master
  git push
  </code></pre>
  
  <p>and everything was fine. Then I tried to do </p>
  
  <pre><code>git checkout b1
  </code></pre>
  
  <p>and I get a huge list of errors for all the files I recently changed, each one saying:</p>
  
  <pre><code>error: cannot stat '....': Permission denied
  </code></pre>
  
  <p>I look in my directory and it seems to be a weird mix of the old folders I should have in <code>master</code> right now (the old ones) and then new folders that should only appear if <code>b1</code> is checked out, which when I try to click on them deny me axis. Seems like things are stuck in a limbo state.</p>
  
  <p>Rebooting fixed the problem, but I want to know the source of the issue so that I don't need to resort to that if it happens regularly, or at least how I can avoid it. </p>
  
  <p>I'm running Windows 10 on a laptop and pushing to GitHub.</p>