code: def get_commit(self, commit_id: str) -> Commit:
          
          return Commit(self.repo.commit(commit_id), self.path, self.main_branch)
docs: Get the specified commit.
  
          :param str commit_id: hash of the commit to analyze
          :return: Commit