As of Git version 2.49 you can clone and checkout a specific commit in one go using the syntax:
git clone <url> --revision <commitID>
See Highlights from Git 2.49 in the GitHub Blog.