Refflog is used to reset your HEAD after you had HARD RESET HEAD.
$ install reflog
$ git reflog
$ git reset --hard 4993de0 #(give the HEAD number on which you want to go back)
Useful Links:
$ install reflog
$ git reflog
$ git reset --hard 4993de0 #(give the HEAD number on which you want to go back)
Useful Links: