title: git checkout '...' always results in error: pathspec '...' did not match any file(s) known to git
body: <p>We ran into a problem with our development branch. Long story short, I've deleted the branch and recreated it from master. However, every time we create a new clone of the repository and checkout development we get the following:</p>
  
  <pre><code>$ git checkout development
  error: pathspec 'development' did not match any file(s) known to git.
  </code></pre>
  
  <p>I'm able to get around the problem using Gregory McIntyre's answer from: </p>
  
  <p><a href="https://stackoverflow.com/questions/5989592/git-cannot-checkout-branch-error-pathspec-did-not-match-any-files-kn">Git: cannot checkout branch - error: pathspec &#39;...&#39; did not match any file(s) known to git</a></p>
  
  <pre><code>git checkout -t -b development origin/development
  </code></pre>
  
  <p>I can then use the branch as normal.</p>
  
  <p>However, the next time we clone the repository we'll have the same problem and have to use the same fix.</p>
  
  <p>It's only the development branch that's having this problem, other branches work as expected after a fresh clone:</p>
  
  <pre><code>$ git checkout staging
  Branch staging set up to track remote branch staging from origin.
  Switched to a new branch 'staging'
  </code></pre>
  
  <p>Is it possible to fix the development branch so that the workaround isn't required?</p>