Support both git and md5 methods of retrieving hashes