[git] Git: How to return from 'detached HEAD' state