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