You're saying this in response to a study that showed the industry being less hostile to women, at least on this particular axis.
I'm explaining how hostility to women can result in a higher acceptance rate of their pull requests. As you could have seen from the numbers in this study, women do far, far fewer pull requests than men. Why? Perhaps, because only the best women remain, and they only submit their best pull requests. That drives the average for women up, while driving the total number down.
And I don't think the acceptance rate of pull requests is a likely vector of discrimination anyway; they're fairly anonymous and focus on the code. But the hostility absolutely does exist in other areas: small talk, jokes, hiring practices, sexual harassment, etc.
The reasons for being more careful could be all over the place, ranging from actually being better programmers to being more likely to receive criticism for a bad pull request.
In an industry that's somewhat hostile to women, it wouldn't be surprising that only the most competent women stick around, whereas less competent men stick around more than less competent women, dragging average competency of men in the industry down, even if the total number of competent men might be higher than the total number of competent women.