pub fn commits_behind(branch: &str, parent: &str) -> Result<usize>
How many commits parent has that branch does not: nonzero means the branch needs a restack.
parent
branch