pub async fn resolve_push_remote(
project_root: &Path,
branch: &str,
) -> Result<String, String>Expand description
Resolve the remote used for push/pull for branch.
Order: configured branch remote → upstream remote name → origin if present → first remote.