private boolean checkForRebasingPublishedCommits() {
    GitBranchPair sourceAndTarget = getSourceAndTarget();
    String currentRef = sourceAndTarget.getSource().getFullName();
    String baseRef = sourceAndTarget.getTarget().getFullName();

    if (GitRebaseProcess.isRebasingPublishedCommit(myRepository, baseRef, currentRef)) {
      return GitRebaseProcess.askIfShouldRebasePublishedCommit();
    }
    return true;
  }
private boolean checkForRebasingPublishedCommits()