fn prioritize_branches( branches: Vec<Branch>, previous_branch: Option<&str>, user_email: Option<&str>, ) -> Vec<Branch>