! handle prompt with no HEAD in git repo