Lookups a submodule information by name or path.
If the submodule does not exist, null is returned and a GGIT_ERROR_NOTFOUND error set.
| this |
a Repository. |
| name |
the name of the submodule. |
|
a newly-allocated Submodule. |