[git] Why did my Git repo enter a detached HEAD state?