      # TODO: support loading from GitHub URLs? Automatically convert to raw?
      if re.match("(http(s?)):\/\/github.com", url):
          msg.warn(
              "Downloading from a regular GitHub URL. This will only download "
              "the source of the page, not the actual file. If you want to "
              "download the raw file, click on 'Download' on the GitHub page "
              "and copy the raw.githubusercontent.com URL instead."
          )
          # url.replace("github.com", "raw.githubusercontent.com").replace("/blob/", "/").replace("/tree/", "/")
  
  
  def check_clone_dest(dest: Path) -> None:
 
</s> remove     # TODO: support loading from GitHub URLs? Automatically convert to raw?
 </s> add  </s> remove         # url.replace("github.com", "raw.githubusercontent.com").replace("/blob/", "/").replace("/tree/", "/")
 </s> add         return converted
    return url
 </s> remove def check_asset(url: str) -> None:
 </s> add def convert_asset_url(url: str) -> str:
    """Check and convert the asset URL if needed.

    url (str): The asset URL.
    RETURNS (str): The converted URL.
    """ </s> remove def check_clone_dest(dest: Path) -> None:
    """Check and validate that the destination path can be used to clone."""
 </s> add     name (str): Name of the directory to clone from the repo.
    dest (Path): Local destination of cloned directory.
    repo (str): URL of the repo to clone from.
    """
    try:
        subprocess.run(["git", "--version"], stdout=subprocess.DEVNULL)
    except Exception:
        msg.fail(
            f"Cloning spaCy project templates requires Git and the 'git' command. ",
            f"To clone a project without Git, copy the files from the '{name}' "
            f"directory in the {repo} to {dest} manually and then run:",
            f"{COMMAND} project init {dest}",
            exits=1,
        )
            "the source of the page, not the actual file. Converting the URL "
            "to a raw URL.",
            converted,
      # TODO: support loading from GitHub URLs? Automatically convert to raw?
      if re.match("(http(s?)):\/\/github.com", url):
          msg.warn(
              "Downloading from a regular GitHub URL. This will only download "
            "the source of the page, not the actual file. Converting the URL "
            "to a raw URL.",
            converted,
            "the source of the page, not the actual file. Converting the URL "
            "to a raw URL.",
            converted,
            "the source of the page, not the actual file. Converting the URL "
            "to a raw URL.",
            converted,
          )
          # url.replace("github.com", "raw.githubusercontent.com").replace("/blob/", "/").replace("/tree/", "/")
  
  
  def check_clone_dest(dest: Path) -> None:
keep keep keep keep replace replace replace keep keep keep keep keep
 Tidy up, document and add custom clone logic 
spacy/cli/project.py