As The Register understands, CEO Sid Sijbrandij was required to hire a woman for the role.
"There is a lot of reporting that shows sometimes a company's work culture will privilege one gender over the other. At GitLab, we are proud to say that is not the case, and the truth is in the numbers."
If as a company you start to hire people not on the basis of their skills and ability but on their sex you are running the risk that more of the people you are will turn out to be unsuitable than would otherwise be the case. If you then lie and claim not to be hiring people on the basis of sex then you run the risk of creating a culture of distrust and fear of speaking the turth within your company.
They have simoply reaped what they have sown. they should stop discriminating and start hiring on the basis of merit.