https://stackoverflow.com/questions/18770545/why-is-my-git-submodule-head-detached-from-master
#stackoverflow #git #submodule
  
  #stackoverflow #git #submodule
Stack Overflow
  
  Why is my Git Submodule HEAD detached from master?
  I am using Git submodules. After pulling changes from server, many times my submodule head gets detached from master branch. 
Why does it happen?
I have to always do:
git branch
git checkout mas...
  Why does it happen?
I have to always do:
git branch
git checkout mas...
