Internal API to use ObjectID directly in place of git_oid*
Add a writable wrapper, too