@Nullable
  public static ChangesBrowserNode<?> findTagNode(@NotNull JTree tree, @NotNull Object tag) {
    ChangesBrowserNode<?> root = (ChangesBrowserNode<?>)tree.getModel().getRoot();
    return root.iterateNodeChildren().find(node -> tag.equals(node.getUserObject()));
  }
@Nullable
  public static ChangesBrowserNode<?> findTagNode(@NotNull JTree tree, @NotNull Object tag)