Added documentation for fixing detached head