title: Why does Git tell me "Not currently on any branch" after I run "git checkout origin/<branch>"?
body: <p>I was trying to follow the instructions from <a href="https://stackoverflow.com/questions/4735556/git-not-currently-on-any-branch-is-there-an-easy-way-to-get-back-on-a-branch">Git: &quot;Not currently on any branch.&quot; Is there an easy way to get back on a branch, while keeping the changes?</a> but <code>git checkout</code> appears to be broken:</p>
  
  <pre><code>$ git checkout origin/web-zach
  HEAD is now at 1366cb1... Changed so css files not ignored
  
  $ git status
  # Not currently on any branch.
  # Untracked files:
  #   (use "git add &lt;file&gt;..." to include in what will be committed)
  #
  #       .cordova/config.xml
  #       www/languages/pt/sounds/
  nothing added to commit but untracked files present (use "git add" to track)
  </code></pre>
  
  <p>More specifically, I'm worried about the "Not currently on any branch" message. <code>git checkout</code> doesn't seem to do anything here... Isn't the entire purpose of that command to put me on a branch?  How can I get back on a branch and commit/push again?  </p>