Format a git_oid into a partial hex string.
output hex string; you say how many bytes to write. If the number of bytes is > GIT_OID_HEXSZ, extra bytes will be zeroed; if not, a '
0' terminator is NOT added.
number of characters to write into out string