Modify your last commit (given no changes have been made )
git commit --amend git add missing_file git commit --amend
Unmodified Files
git checkout -- path to file
Unstage a file
git reset HEAD path to file
Undoing in GIT
http://book.git-scm.com/4_undoing_in_git_-_reset,_checkout_and_revert.html