def _get_user_and_repository(repository_url: str) -> tuple:
    """
    Get User name and repository name from the given Github repository link

    >>> _get_user_and_repository('https://github.com/user/repository')
    ('user', 'repository')

    :param repository_url: string
    :return: (user: string, repository: string)
    """
    url_split = repository_url.split('/')
    return url_split[-2], url_split[-1]