$ git reset --hard HEAD
move to head
$ git reset --hard <branch-name>
move to branch
git reset --hard HEAD~n
where n is no of commits to move before head
$ git reset --hard HEAD
move to head
$ git reset --hard <branch-name>
move to branch
git reset --hard HEAD~n
where n is no of commits to move before head