private static void notifyDetachedHeadError(@NotNull GitRepository repository) {
    VcsNotifier.getInstance(repository.getProject())
      .notifyError(UPDATE_DETACHED_HEAD_ERROR, GitBundle.message("notification.title.can.t.update.no.current.branch"),
                         getDetachedHeadErrorNotificationContent(repository));
  }
private static void notifyDetachedHeadError(@NotNull GitRepository repository)