def METHOD_NAME(url: str) -> Dict[str, str]:
    """
    Parses a GitHub url and returns a dict with:
        owner - Owner of the repository
        name  - Name of the repository
    The following are matchable:
        googleapis/nodejs-vision(.git)?
        git@github.com:GoogleCloudPlatform/google-cloud-python.git
        https://github.com/GoogleCloudPlatform/google-cloud-python.git
    """
    match = re.search(REPO_REGEX, url)
    if not match:
        raise RuntimeError("repository url is not a properly formatted git string.")
    owner = match.group("owner")
    name = match.group("name")
    if name.endswith(".git"):
        name = name[:-4]
    return {"owner": owner, "name": name}