Get the OID for the submodule in the index.
Pointer to submodule object
Pointer to git_oid or null if submodule is not in index.
See Implementation
Get the OID for the submodule in the index.