title: Why I see 'HEAD detached from' when I git status?
body: <p>I tried to switch to another commit, so I did  :  <code>git checkout 031c057</code> (fourth commit in order)</p>
  
  <p>After I switched back to  <code>a06bbac</code> then I did some modification and I did a 'commit'</p>
  
  <p>Now when I <code>git status</code> I see  :</p>
  
  <pre><code>$ git status
  HEAD detached from a06bbac
  nothing to commit, working tree clean
  </code></pre>
  
  <p>Here my git log  : </p>
  
  <pre><code>f24cb85 (HEAD) seconde template
  a06bbac (mostafa-test) sc just for test
  19c2ad5 (origin/mostafa-test) first sample template
  031c057 sc
  f6c72a0 make component for table and header
  89a0dd3 material-table ready
  748ce3b first grid &amp; first table
  605562f (master) git ignore fix
  1ec70f4 sc
  eadfa97 (origin/master, origin/HEAD) Initial commit
  
  </code></pre>
  
  <p>How to make it normal ? </p>