def METHOD_NAME(repo, dst_dir):
    cmd = ["git", "clone", repo, dst_dir]
    ssh_key = os.environ.get("SSH_KEY")
    ssh = "ssh -o StrictHostKeyChecking=no"
    if ssh_key:
        subprocess.check_call(["chmod", "0600", ssh_key])
        ssh += " -i '{}'".format(ssh_key)
    env = os.environ.copy()
    env["GIT_SSH_COMMAND"] = ssh
    logging.info("RUN: %s", cmd)
    #logging.info("ENV: %s", env)
    subprocess.check_call(cmd, env=env)