def METHOD_NAME(
    ctx: "PlanemoCliContext",
    src: str,
    dest: str,
    mirror: bool = False,
    branch: Optional[str] = None,
    depth: Optional[int] = None,
) -> List[str]:
    """Produce a command-line string to clone a repository.
    Take in ``ctx`` to allow more configurability down the road.
    """
    cmd = ["git", "clone"]
    if mirror:
        cmd.append("--mirror")
    if branch is not None:
        cmd.extend(["--branch", branch])
    if depth is not None:
        cmd.extend(["--depth", str(depth)])
        if urllib.parse.urlparse(src).scheme == "":
            src = f"file://{src}"
    cmd.extend([src, dest])
    return cmd