title: Why is my GIT Submodule *NOT* a detached head?
body: <p>Basically the opposite of <a href="https://stackoverflow.com/questions/18770545/why-is-my-git-submodule-head-detached-from-master">this question</a>.</p>
  
  <p>I'm cloning a repo that has a submodule in it. After running </p>
  
  <pre><code>git submodule init
  git submodule update
  </code></pre>
  
  <p>when I <code>cd</code> to the subdirectory that contains the submodule, I expect to see that I am in a detached HEAD state when I do <code>git status</code> but I'm not. I read up on submodules and I see you <em>can</em> setup tracking for a submodule but I have never done those steps.</p>
  
  <p>I've reproduced this behavior with fresh clones of the repo in different directories; it's as if the submodules are being setup to be tracked right away somehow. My co-worker running on the same machine, same version of git, same .gitconfig (except usernames) gets the expected behavior (detached HEAD in submodule directory) with the same repository.</p>
  
  <p><a href="https://i.stack.imgur.com/sqJ9m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sqJ9m.png" alt="Screencap of clone and submodule initialization/update"></a></p>