def METHOD_NAME(
        bom_repository_url: str,
        bom_branch: str,
        bom_entries: typing.Sequence[BOMEntry],
    ):
    if bom_branch not in ["master", "val", "dev"]:
        raise ValueError("--rbsc-git-branch has to to be master, dev or val!")
    bom_repository_url = injectCredentialsIntoRepoUrl(bom_repository_url)
    # for the RBSC, it expects all urls to have the scheme and port explicitly specified.
    # Defaulting schema to https and port to 443 if not otherwise set.
    def normalizeUrlsWithSchemaAndPort(bom_entry: BOMEntry):
        url = bom_entry.url
        # urlparse requires the a protocol as officially specified. Prepend https if not set.
        if not re.search(r'^[A-Za-z0-9+.\-]+://', bom_entry.url):
            url = 'https://{0}'.format(bom_entry.url)
        parsed_url = urlparse(url)
        new = ParseResult(
            scheme=parsed_url.scheme,
            netloc=f'{parsed_url.hostname}:{parsed_url.port if parsed_url.port else 443}',
            path=parsed_url.path,
            params=parsed_url.params,
            query=parsed_url.query,
            fragment=parsed_url.fragment,
        )
        new_url = new.geturl()
        bom_entry.url = new_url
        return bom_entry
    with tempfile.TemporaryDirectory() as local_path:
        repo, origin = _pullGitForBranch(bom_repository_url, bom_branch, local_path)
        bom = _parseBOM(local_path)
        if len(bom.pvs) != 1:
            raise NotImplementedError("More than one product version is not supported right now")
        normalized_boms = list(map(normalizeUrlsWithSchemaAndPort, bom_entries))
        # sort by name to have a reproducable bom with good diff highlighting
        normalized_sorted_boms = sorted(normalized_boms, key=lambda entry: entry.comp)
        # Deduplicate bom list based on url (since rbsc does not support two entries with
        # the same url)
        deduplicated_bom_list = []
        preexisting_urls = set()
        for bom_entry in normalized_sorted_boms:
            if bom_entry.url not in preexisting_urls:
                deduplicated_bom_list.append(bom_entry)
                preexisting_urls.add(bom_entry.url)
        bom.pvs[0].bom = deduplicated_bom_list
        _writeBOM(bom, local_path)
        _pushToGit(repo, origin)