un commit files locally branch git code example Example: how to uncommit in git git reset --soft HEAD^