all git tutors
git revert HEAD^ --> for reverting to the next-to-last commit
git checkout -f --> to recover all files that not commit
git reset --hard --> remove newly added contents and files which are already staged
git reset --hard HEAD^ --> remove your latest commit
git clean --force -d --> To remove the untracked files
https://help.github.com/articles/generating-ssh-keys/