pub fn branch_tip(root: &Path, branch: &str) -> Option<String>
Get the commit SHA at the tip of a local branch.