git commit changes from detached head