hg checkouthg checkout is a built-in alias for is a built-in alias for hg updatehg update, which updates the working directory or switces revisions. It’s equivalent to one of the several meanings of , which updates the working directory or switces revisions. It’s equivalent to one of the several meanings of git checkoutgit checkout, in this case, the , in this case, the git checkout <commit-ish>git checkout <commit-ish> variant. I’m not sure I like the use of the word variant. I’m not sure I like the use of the word updateupdate here, hence my using the alias. here, hence my using the alias.↩↩