Being confined to one space everyday with people for years will lead to dust ups, cultural clashes, personality clashes etc. How they are handled is important, it doesn't appear it was handled correctly here.
High school politics are in effect at every office and I see this as more that than sexism. We live free but the office can turn into a strange authoritarian empire with banana republic like alliances. Growth at companies can also cause cultural clashes and problems similar to this with people getting wronged. Disappointed to hear it also goes on in github.