turn git objects into 40 character hex hashes