Open the repository for a submodule.
This is a newly opened repository object. The caller is responsible for
calling git_repository_free()
on it when done. Multiple calls to this
function will return distinct git_repository
objects. This will only
work if the submodule is checked out into the working directory.
0 on success, < 0 if submodule repo could not be opened.