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.
size in bytes of the object