def METHOD_NAME(self, branch_name):
    """
    Gets info on a given branch in the given Github repository.
    """
    try:
        return self._repository.METHOD_NAME(branch_name)
    except GithubException as e:
        if e.status == 404:
            return None
        raise e