"Also with women being systematically excluded from many opportunities in tech"
Do you have some sources for this?
"There are a million reasons why women prefer to work with women."
And the same is true for men wanting to work with men.
"this is hardly going to deprive some man of an opportunity."
If one is actually excluding men, then this by definition deprives them of that specific opportunity.