pub fn is_branch_protected( branch: &str, current_branch: &str, protected_branches: &[String], ) -> bool