def METHOD_NAME(working_dir: str, default_branch: str = "main"):
    """Create a local repo that resembles a real repo.
    Specifically, it has a history of synth.py changes that actually change the
    generated output.
    """
    subprocess.check_call(["git", "init"], cwd=working_dir)
    subprocess.check_call(["git", "checkout", "-b", default_branch], cwd=working_dir)
    subprocess.check_call(
        [
            "git",
            "remote",
            "add",
            "origin",
            "https://github.com/googleapis/nodejs-vision.git",
        ]
    )
    working_path = pathlib.Path(working_dir)
    # The simplest possible synth.py.  It generates one file with one line of text.
    template = """import time