title: git checkout master does not switch branch - repository broken?
body: <p><strong>tl;dr</strong>: <code>git checkout master</code> does not switch to master branch, gives no error or any output at all and I have no clue why. Any other branch works fine.</p>
  
  <p>I have a git repository that consists of the branches <code>development</code> and <code>master</code>. I do a fresh clone of the repository, checking out branch <code>development</code> as default.</p>
  
  <pre><code>$ git clone &lt;REPO-URL&gt; --branch development
  $ git branch -a
  * development
  origin/HEAD -&gt; origin/development
  origin/development
  origin/master
  $ git show-ref 
  656c781c2affc26792f857baf8e232de07101535 refs/heads/development
  656c781c2affc26792f857baf8e232de07101535 refs/remotes/origin/HEAD
  656c781c2affc26792f857baf8e232de07101535 refs/remotes/origin/development
  cfee1a1761642453edf5d001565f23b50243ff09 refs/remotes/origin/master
  </code></pre>
  
  <p>The ref master is pointing to is correct, that commit does exists and is the latest commit of my master branch.</p>
  
  <p>So far everything looks normal, but when I try to switch to master this is happening:</p>
  
  <pre><code>$ git checkout master
  $ git branch 
  * development
  </code></pre>
  
  <p>No message from checkout, no error, nothing, and the branch is not switched.</p>
  
  <p>Things I have tried so far:</p>
  
  <ul>
  <li>Creating a second branch <code>master2</code> from the same commit => checkout works fine.</li>
  <li>Deleting and re-creating branch master both local and on origin => again no checkout possible</li>
  <li><code>git checkout -b master --track origin/master</code> => works, but I think it should not be necessary to use this command as this is what <code>git checkout master</code> should do automatically</li>
  <li>Committing and pushing to master works, but does not change the checkout problem</li>
  <li>I tried several git versions (1.9, 2.2) and machines (linux, windows), problem occurs everywhere.</li>
  </ul>
  
  <p>Any further ideas? What am I missing? Is my repository broken? How can I fix this?</p>