private static void showDiffWithTag(@NotNull Project project,
                                      @NotNull GitRepository repository,
                                      @NotNull VirtualFile file,
                                      @NotNull @NlsSafe String tagName) {
    String presentableRevisionName = getPresentableCurrentBranchName(repository);
    String revNumTitle1 = VcsDiffUtil.getRevisionTitle(tagName, false);
    String revNumTitle2 = VcsDiffUtil.getRevisionTitle(presentableRevisionName, true);
    showDiffBetweenRevision(project, file, revNumTitle1, revNumTitle2, () -> getDiffChanges(project, repository, file, tagName));
  }
private static void showDiffWithTag(@NotNull Project project,
                                      @NotNull GitRepository repository,
                                      @NotNull VirtualFile file,
                                      @NotNull @NlsSafe String tagName)