private bool RefreshBranch()
        {
            if (git_ == null)
            {
                return(false);
            }
            GitRepositoryStatus gitRepositoryStatus = git_.GetRepositoryStatus();

            if (gitRepositoryStatus == null)
            {
                return(false);
            }
            if (gitRepositoryStatus.branchInfo == null)
            {
                return(false);
            }
            _pendingTabViewModel.SetNoCommitsYet(gitRepositoryStatus.branchInfo.NoCommitsYet);
            string currentBranchName = gitRepositoryStatus.branchInfo.CurrentBranchName;

            HistoryTabMember.CurrentBranchName = currentBranchName;
            string output          = currentBranchName;
            string ahead_or_behind = gitRepositoryStatus.branchInfo.BranchTrackingRemoteStatus;

            if (string.IsNullOrEmpty(ahead_or_behind) == false)
            {
                output = string.Format("{0} - ({1})", currentBranchName, ahead_or_behind);
            }
            if (gitRepositoryStatus.IsOnBisecting)
            {
                output += " [BISECTING...]";
            }
            Branch = output;

            NotifyPropertyChanged("Branch");

            return(true);
        }