@Override
    public void update(@NotNull AnActionEvent e) {
      Project project = e.getProject();
      e.getPresentation().setVisible(project != null && !isUnderVcs(project));
    }
@Override
    public void update(@NotNull AnActionEvent e)