def METHOD_NAME(input_url):
    # URLs can come in various formats, for example
    # https://github.com/timbrel/GitSavvy.git
    #     git@github.com:divmain/GitSavvy.git
    _split_url = input_url.rsplit("/", 1)[-1]
    if _split_url.endswith(".git"):
        _split_url = _split_url[:-4]
    return _split_url