Write thecommand to unstage file in git code example Example: how to unstage a commit git reset HEAD~