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