title: What does git push origin HEAD mean?
body: <p>I found, in the <a href="http://git-scm.com/docs/git-push" rel="noreferrer">official guide</a>:</p>
  <blockquote>
  <p><code>git push origin HEAD</code></p>
  <p>A handy way to push the current branch to the
  same name on the remote.</p>
  </blockquote>
  <p>However, the meaning of the command is not clear to me. Why does it have this effect?</p>
  <p>I haven't been able to find an answer (<a href="https://stackoverflow.com/questions/11731414/git-push-origin-head">this question</a> seems to treat the problem, but the title is misleading).</p>