protected final void notifyBranchHasChanged(@Nullable String branchName) {
    if (branchName != null) {
      ApplicationManager.getApplication().invokeLater(() -> {
        if (myProject.isDisposed()) return;
        myProject.getMessageBus().syncPublisher(BranchChangeListener.VCS_BRANCH_CHANGED).branchHasChanged(branchName);
      });
    }
  }
protected final void notifyBranchHasChanged(@Nullable String branchName)