Normally a clone copies all of a repository's history, so you can just copy the repo and check out the other branch/commit in one of them. For example:
git clone ssh://someserver/repo
cp repo repo2
cd repo
git checkout HASH1
cd ../repo2
git checkout HASH2