[git] How do I fix a Git detached head?