You can check out any revision by giving its SHA1 id:
git checkout <SHA1>
A helper script called
git-walk has been made for this. Even if you won’t use the explicit script, look at the (very simple) code to see what is done.
You may Also Like: