def get_repo(self, repo: str, branch: str, *,<EOL>depth: Optional[int]=<NUM_LIT:1>,<EOL>reference: Optional[Path]=None<EOL>) -> Repo:
git_repo, _ = self.get_files(repo, branch, depth=depth, reference=reference)<EOL>return git_repo<EOL>
Returns a :class:`Repo <git.repo.base.Repo>` instance for the branch.

        See :meth:`run` for arguments descriptions.