Convert a string object type representation to it's git_object_t.
the string to convert.
the corresponding git_object_t.