seriously guise
guise
srly

It's like the 3rd time you try to bring back this function in a PR. There is a `git_odb_read_header` that does exactly this without allocating a gazillion objects on the way. Can we use it and give up on `git_object_id2type`?