pub async fn push_branch(
dir: &Path,
branch: &str,
default_branch: &str,
) -> Result<bool>Expand description
Push the branch to origin.
Returns Ok(true) when the branch is on the remote, Ok(false) when the push was skipped,
and Err when the push was refused (default branch) or failed