title: How do I determine what branch/tag I have checked out in git?
body: <p>I clone my source using <code>git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git w/</code>. Then I specify a specific branch/tag by doing <code>git checkout &lt;tag name&gt;</code> or <code>git checkout origin/REL&lt;release number&gt;</code>. Sometimes I forget what branch or tag I'm on. </p>
  
  <p>In SVN I would do a <code>svn info</code> to figure out what branch/tag I'm using (I realize that git has distinct definitions for <code>branch</code> and <code>tag</code> but for my purposes they are the same). </p>
  
  <p><strong>How do I determine what branch/tag I am on?</strong></p>