git prompt works with detached HEAD now