@Override
  public void update(@NotNull AnActionEvent e) {
    Project project = e.getProject();
    boolean isEnabled = project != null && ProjectLevelVcsManager.getInstance(project).hasActiveVcss();
    e.getPresentation().setEnabledAndVisible(isEnabled);
  }
@Override
  public void update(@NotNull AnActionEvent e)