clone a repo from a particular commit code example Example: clone at a given commit github git checkout <commit_sha>