def METHOD_NAME(qtask, dirname):
    git_dir = os.path.join(dirname, "git")
    task_dir = os.path.join(dirname, "task")
    git_clone(qtask.course["repo"], git_dir)
    os.mkdir(task_dir)
    for f in qtask.files:
        url = f["url"]
        filename = url.split('/')[-1]
        dst_path = os.path.join(task_dir, filename)
        logging.info("Download '%s' -> '%s'", url, dst_path)
        urllib.urlretrieve(url, dst_path)