def METHOD_NAME(test_storage: FileStorage) -> None:
    repo_storage = get_fresh_repo_files(AWESOME_REPO, test_storage.storage_path, branch="main")
    with get_repo(repo_storage.storage_path) as repo:
        origin_head_sha = repo.head.commit.hexsha
        repo_storage.save("addition.py", "# new file")
        assert is_dirty(repo)
        assert not is_clean_and_synced(repo)
        repo.index.add("addition.py")
        commit = repo.index.commit("mod mod mod")
        assert commit.hexsha == repo.head.commit.hexsha
        assert not is_dirty(repo)
        assert not is_clean_and_synced(repo)
    # get repo as local folder
    repo_storage = get_fresh_repo_files(repo_storage.storage_path, None)
    with get_repo(repo_storage.storage_path) as repo:
        # we are in non-synced state, folder does not refresh not clean
        assert commit.hexsha == repo.head.commit.hexsha
    # this should reset to the origin
    repo_storage = get_fresh_repo_files(AWESOME_REPO, test_storage.storage_path, branch="main")
    with get_repo(repo_storage.storage_path) as repo:
        assert origin_head_sha == repo.head.commit.hexsha