pub fn protect_foreign_branches(
    graph: &mut Graph,
    repo: &dyn Repo,
    user: &str,
    ignore: &[Oid]
)