def remove_badges(text: str) -> str:
    """ Remove Github badges.

    :param text: Original text.
    :return: Text with Github badges removed.
    """
    new_text = "\n".join((line for line in text.splitlines() if "![" not in line))
    return new_text