Unstage all staged files.
command line
git reset
Rollback to a previous commit, BUT keep your changes in the working directory.
command line
git reset <commit-ID>
Rollback to a previous commit AND discard all changes. Be careful with this one.
command line
git reset <commit-ID> --hard