`git_oid`s now have a type, and we require the oid type when creating the object id from creation functions.