def METHOD_NAME() -> Optional[str]:
    """
    Retrieve an hashed version of the project's initial commit hash, if it exists.
    Returns
    -------
    str | None
        A SHA256 hexdigest string of the git project's initial commit hash.
        If telemetry is opted out of by the user, or the `.git` folder is not found
        (the directory is not a git repository), returns None.
    """
    if not bool(GlobalConfig().telemetry_enabled):
        return None
    metadata = None
    try:
        runcmd = subprocess.run(
            ["git", "rev-list", "--max-parents=0", "HEAD"], capture_output=True, shell=True, check=True, text=True
        )
        metadata = runcmd.stdout.strip()
    except subprocess.CalledProcessError:
        return None  # Not a git repo
    return _hash_value(metadata)