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