Git Reflog : Bringing Lost Data Back

git reflog records every movement of the HEAD in your local repository.