pub fn render_ref_groups(groups: &[RefGroup], color: bool) -> String
Each group with updates under its own header; groups without updates print nothing.