pub fn format_branch_with_upstream( branch: &str, upstream: &str, sync_status: &SyncStatus, is_current: bool, ) -> String