To the OP: It depends on the job. I've had guys and girls as boss at work. I've had lazy bosses, demanding bosses, uncaring bosses and bosses who actually had a good work ethic and did their jobs right, and all of those I have seen in both genders.
For a job that requires a lot of empathy, a lot of understanding people and how to work with them, a woman would probably be better. Women are good at talking to people and working out people situations. I've had some male managers who were good guys and tried their best, but they just didn't get people.
For a job that is fast paced and high stress a man would be better. My current store manager had a nervous breakdown yesterday. We are going through a remodel but we are trying to keep the store open and serving food, and some things happen along the way that cause high stress if you're trying to keep a store functioning during a remodel. She's a great person and a good manager, but she just can't handle the stress right now.
Men have inherent strengths and weaknesses and women have inherent strengths and weaknesses. Some men are better as managers for some jobs, some women are better as managers for others. Just depends on the job at hand.
For myself, I know I'm not a leader. I'm a better henchman. Let the boss decide what to do, then the boss tells me what to do and I'll make it happen. Somebody being rude in the drive-through, sitting blocking traffic and cussing the cashier out? Freezer stopped working and we're about to lose a lot of food to melting? That's the boss's problem. If you need me to do something I'll be over here at the grill doing my job.