Get the size in bytes for the structure which acts as an in-memory representation of any given object type.
For all the core types, this would the equivalent
of calling sizeof(git_commit)
if the core types
were not opaque on the external API.
object type to get its size
size in bytes of the object