private static @NotNull List<List<String>> processRecentBranchFilters(@NotNull Set<String> availableBranches,
                                                                        @NotNull List<List<String>> recentBranchFilters) {
    if (availableBranches.isEmpty()) {
      return recentBranchFilters;
    }

    return ContainerUtil.filter(recentBranchFilters, recentFilter ->
      !fromBranchPatterns(recentFilter, availableBranches, true).isEmpty());
  }
private static @NotNull List<List<String>> processRecentBranchFilters(@NotNull Set<String> availableBranches,
                                                                        @NotNull List<List<String>> recentBranchFilters)