public boolean isUpdateNeeded(@NotNull GitBranchPair branchPair) throws VcsException {
    String remoteBranch = branchPair.getTarget().getName();
    if (!hasRemoteChanges(remoteBranch)) {
      LOG.info("isUpdateNeeded: No remote changes, update is not needed");
      return false;
    }
    return true;
  }
public boolean isUpdateNeeded(@NotNull GitBranchPair branchPair)