public static @Nullable GitBranchTrackInfo getTrackInfoForCurrentBranch(@NotNull GitRepository repository) {
    GitLocalBranch currentBranch = repository.getCurrentBranch();
    if (currentBranch == null) {
      return null;
    }
    return GitBranchUtil.getTrackInfoForBranch(repository, currentBranch);
  }
public static @Nullable GitBranchTrackInfo getTrackInfoForCurrentBranch(@NotNull GitRepository repository)