title: Which is the difference between HEAD and Origin on GIT?
body: <p>I pushed some project files to a repository on GitHub by using GIT from the command line. I modified them and added a new file on my local folder. I commit it (I did <code>git add newFile</code> and <code>git commit -m "some text"</code>), therefore there's nothing more to commit now and the working tree is clean. I typed <code>Git log</code> and got the following:</p>
  
  <pre><code>commit 532d55b88be3c8cc21ee1f89e08db3fc6c9c0631 (HEAD -&gt; master)
  Author: Rob &lt;ennesimo@hotmail.it&gt;
  Date:   Fri Jul 12 12:13:55 2019 +0200
  
      example
  
  commit b9719578146a01a3029e1bf3c6d15b3eb2c5473b
  Author: Rob &lt;ennesimo@hotmail.it&gt;
  Date:   Fri Jul 12 11:58:17 2019 +0200
  
      corrected orthography in the low_cost_hotels.json
  
  commit aa8e758e852bb4dde1127b0e2fa256b1f5d67b29
  Author: Rob &lt;ennesimo@hotmail.it&gt;
  Date:   Fri Jul 12 11:40:04 2019 +0200
  
      version 2
  
  commit 37e0e292242384afbee80260611ad021ed89ac37 (origin/master)
  Author: Rob &lt;ennesimo@hotmail.it&gt;
  Date:   Thu Jul 11 12:10:10 2019 +0200
  
      initial project version - 11 july 2019
  </code></pre>
  
  <p>As you can see here, the first commit reports <code>(origin/master)</code>, the last one <code>(HEAD -&gt; master)</code>. Why such a difference? I suppose the <code>origin/master</code> is my online repository on GitHub, whereas <code>(HEAD -&gt; master)</code> signifies that I created a new file on my local folder on my pc and then send it to the <code>master</code>, i.e. to the remote repository on GitHub, is it correct reasoning?</p>
  
  <p>Can you explain to me more precisely what "Master" and "HEAD" stand for and why are they named as they are?</p>