def METHOD_NAME(test_storage: FileStorage) -> None:
    secret = load_secret("deploy_key")
    repo_path = test_storage.make_full_path("private_repo_access")
    with git_custom_key_command(secret) as git_command:
        clone_repo(PRIVATE_REPO_WITH_ACCESS, repo_path, with_git_command=git_command).close()
        ensure_remote_head(repo_path, with_git_command=git_command)