Refs are one of git's core concepts. Learn here about all the different types of refs (many more than just tags and branches) and how they differ from each other.| Git Cookbook
Unlike in real life, a detached head is pretty common in git. Find out how you can get into this situation and how to recover from it.| Git Cookbook