code: def test_ls_remote_git_only_repo_recursive(git_dir):
      with git_dir.chdir():
          git_dir.scm_gen(FS_STRUCTURE, commit="init")
  
      url = f"file://{git_dir.as_posix()}"
      files = Repo.ls(url, recursive=True)
      match_files(
          files,
          (
              ((".gitignore",), False),
              (("README.md",), False),
              (("model", "script.py"), False),
              (("model", "train.py"), False),
          ),
      )
  
imports: import os
  import shutil
  import textwrap
  from operator import itemgetter
  import pytest
  from dvc.repo import Repo
  from dvc.scm import CloneError
label_desc: Use image node_id 23 for calling a global function with example usage: test_ls_remote_git_only_repo_recursive(git_dir) without return types