@Override
  protected @NotNull JBPopup createPopup(@NotNull Project project, @NotNull T repository, @NotNull VirtualFile file) {
    String presentableRevisionName = getPresentableCurrentBranchName(repository);
    List<String> branchNames = getBranchNamesExceptCurrent(repository);

    return createPopup(DvcsBundle.message("popup.title.select.branch.to.compare"), branchNames,
                       selected -> showDiffWithBranchUnderModalProgress(project, file, presentableRevisionName, selected));
  }
@Override
  protected @NotNull JBPopup createPopup(@NotNull Project project, @NotNull T repository, @NotNull VirtualFile file)