title: Why does my refs/remotes/origin not have a ref to master?
body: <p>In the process of exploring the inner working of Git, I went in to the refs/remotes/origin directory of my git project and ran the <code>ls</code> command. Here is what I see.</p>
  
  <pre><code>$ ls
  HEAD  sp2013dev
  </code></pre>
  
  <p>Then I ran <code>cat HEAD</code> and here's what was printed.</p>
  
  <pre><code>$ cat HEAD
  ref: refs/remotes/origin/master
  </code></pre>
  
  <p>However, there is no file or directory by the name of master in the refs/remotes/origin directory. This directory only has 'HEAD' and 'sp2013dev'</p>
  
  <p>Am I missing something here ? Why is HEAD referring to something (btw, is 'ref' the correct terminology for this 'something' ?) which does not exist ?</p>