https://stackoverflow.com/questions/10228760/how-do-i-fix-a-git-detached-head
Anonymous
Code that is graceful and clear is less likely to break.