get hashes from git log