pub async fn sync_and_push_current_branch(
project_root: &Path,
) -> Result<Option<PushOutcome>, String>Expand description
Sync current branch with its remote (stash-safe rebase when needed) and push.
Intended for the standalone xbp push command and other “just ship commits” flows.