title: How to tell which git branch is checked out?
body: <p>I have a project on github and I just committed and pushed it. However, my changes don't show up on github.</p>
  
  <p>I think I didn't have the <code>master</code> branch checked out. Which means I don't know the name of the branch I'm currently working in. Honestly, I don't really know where I just committed my changes.</p>
  
  <p>How can I find out which branch I currently have checked out? How can  merge these changes into <code>master</code>? What did I just do?</p>
  
  <p>When I committed, it said:</p>
  
  <pre><code> # Please enter the commit message for your changes. Lines starting
   # with '#' will be ignored, and an empty message aborts the commit.
   # Not currently on any branch.
  </code></pre>
  
  <p>And then I did a <code>git push</code>, and I have no clue where that was pushed to.</p>
  
  <pre><code>$ git log
  
  commit dcb85bcfafa18d9dfe9f12659e7ba0e2662ca45e
  Author: ...
  Date:   Wed May 18 22:41:57 2011 -0400
  
      Fix for new vm website layout, add CREDITS
  </code></pre>
  
  <p>Where is my code? How can I merge it into master?</p>