title: What is the HEAD in git?
body: <p>There seems to be a difference between the last commit, the HEAD and the state of the file I can see in my directory.</p>
  
  <p>What is HEAD, what can I do with it and what mistake should I avoid?</p>