import re


def github_normalize(url):
    """
    Normalizes GitHub URL
    """
    if url is None:
        return None
    url = url.replace('https://www.', '')
    url = url.replace('.git', '')
    url = re.sub(r'git.*://', '', url)
    url = url.replace('git@', '')
    return f'https://{url}'