def METHOD_NAME(repo):
    branch = repo.lookup_branch('origin/master', pygit2.GIT_BRANCH_REMOTE)
    assert branch.target.hex == ORIGIN_MASTER_COMMIT
    assert repo.lookup_branch('origin/not-exists', pygit2.GIT_BRANCH_REMOTE) is None