* commit to early
$git commit --amend
* to add foggoten files
$git commit -m 'initial commit'
$git add forgotten_file
$git commit --amend
* unstaging a staged file
$git add readme.md
$git reset HEAD readme.md
* unmodifying a modified file
$git checkout -- to-roll-back-file.txt