      RETURNS (str): The converted URL.
      """
      # If the asset URL is a regular GitHub URL it's likely a mistake
      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,
          )
 
</s> remove             "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."
 </s> add             "the source of the page, not the actual file. Converting the URL "
            "to a raw URL.",
            converted, </s> remove     # TODO: support loading from GitHub URLs? Automatically convert to raw?
 </s> add  </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         # url.replace("github.com", "raw.githubusercontent.com").replace("/blob/", "/").replace("/tree/", "/")
 </s> add         return converted
    return url
 </s> remove     check_asset(url)
 </s> add     """Fetch an asset from a given URL or path. Will try to import the file
    using DVC's import-url if possible (fully tracked and versioned) and falls
    back to get-url (versioned) and a non-DVC download if necessary. If a
    checksum is provided and a local file exists, it's only re-downloaded if the
    checksum doesn't match.

    project_path (Path): Path to project directory.
    url (str): URL or path to asset.
    checksum (Optional[str]): Optional expected checksum of local file.
    """
    url = convert_asset_url(url)
        converted = url.replace("github.com", "raw.githubusercontent.com")
        converted = re.sub(r"/(tree|blob)/", "/", converted)
      RETURNS (str): The converted URL.
      """
      # If the asset URL is a regular GitHub URL it's likely a mistake
      if re.match("(http(s?)):\/\/github.com", url):
        converted = url.replace("github.com", "raw.githubusercontent.com")
        converted = re.sub(r"/(tree|blob)/", "/", converted)
          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,
          )
keep keep keep add keep keep keep keep keep keep
 Tidy up, document and add custom clone logic 
spacy/cli/project.py