git HEAD@{0}: checkout: moving from master to code example Example: git reflog reset git reset HEAD@{1}