커밋 로그 확인

git reflog

혹은

git log -g

커밋 시점으로 되돌리기

git reset --hard [commit_id]