def METHOD_NAME(out_dir="."):
    """Updates the Earth Engine Data Catalog dataset list.
    Args:
        out_dir (str, optional): The output directory to save the GitHub repository. Defaults to ".".
    Raises:
        Exception: If the CSV file fails to save.
    """
    try:
        url = (
            "https://github.com/samapriya/Earth-Engine-Datasets-List/archive/master.zip"
        )
        filename = "Earth-Engine-Datasets-List-master.zip"
        dir_name = filename.replace(".zip", "")
        out_dir = os.path.abspath(out_dir)
        if not os.path.exists(out_dir):
            os.makedirs(out_dir)
        download_from_url(
            url, out_file_name=filename, out_dir=out_dir, unzip=True, verbose=False
        )
        work_dir = os.path.join(out_dir, dir_name)
        in_csv = list(Path(work_dir).rglob("*.csv"))[0]
        out_csv = get_data_csv()
        shutil.copyfile(in_csv, out_csv)
        os.remove(os.path.join(out_dir, filename))
        shutil.rmtree(os.path.join(out_dir, dir_name))
    except Exception as e:
        raise Exception(e)