Reset and Switch
What is HEAD
git rev-parse HEAD # for e.g you could use HEAD~X hereSwitch to a commit (move HEAD + files)
git switch --detach <commit-id>Reset to a commit (move HEAD only)
git reset <commit-id>git switch --detach bbbb && git reset HEAD~1git reset --hard vs git switch --detach
git reset --hard vs git switch --detachLast updated