def normalize_repo_root_url(url):
<EOL>if url.endswith('<STR_LIT>'):<EOL><INDENT>url = url[:-<NUM_LIT:4>]<EOL><DEDENT>return url<EOL>
Normalize a GitHub URL into the root repository URL.

    Parameters
    ----------
    url : `str`
        A GitHub URL

    Returns
    -------
    url : `str`
        Normalized URL of a GitHub repository.

    Examples
    --------
    >>> normalize_repo_root_url('https://github.com/lsst/LDM-151.git')
    'https://github.com/lsst/LDM-151'