def METHOD_NAME(src, *args, **kwargs):
    # Probe for -C
    if not process.exit_status_as_bool(
        lambda: process.run_subprocess_with_logging(f"git -C {io.escape_path(src)} --version", level=logging.DEBUG), quiet=True
    ):
        version = process.run_subprocess_with_output("git --version")
        if version:
            version = str(version).strip()
        else:
            version = "Unknown"
        raise exceptions.SystemSetupError("Your git version is [%s] but Rally requires at least git 1.9. Please update git." % version)
    return f(src, *args, **kwargs)