def METHOD_NAME(it_remote_old_repo_url):
    """Returns a remote path to integration test repository."""
    with tempfile.TemporaryDirectory() as tempdir:
        # NOTE: create temporary branch and push it
        git_url = urlparse(it_remote_old_repo_url)
        url = "oauth2:{}@{}".format(os.getenv("IT_OAUTH_GIT_TOKEN"), git_url.netloc)
        git_url = git_url._replace(netloc=url).geturl()
        repo = Repository.clone_from(url=git_url, path=tempdir)
        origin = repo.remotes["origin"]
        branch_name = uuid.uuid4().hex
        branch = repo.branches.add(branch_name)
        repo.push(origin, branch, set_upstream=True)
        try:
            yield it_remote_old_repo_url, branch_name
        finally:
            # NOTE: delete remote branch
            repo.push(origin, branch, delete=True)
            repo.branches.remove(branch)