Open the repository for a submodule.
Multiple calls to this function will return distinct Repository objects. Only submodules which are checked out in the working directory can be opened.
this |
a Submodule. |
the opened Repository or null in case of an error. |