public @Nullable GitRemoteBranch findTrackedBranch(@NotNull GitRepository repository) {
    GitBranchTrackInfo info = GitBranchUtil.getTrackInfoForBranch(repository, this);
    return info != null ? info.getRemoteBranch() : null;
  }
public @Nullable GitRemoteBranch findTrackedBranch(@NotNull GitRepository repository)