This sounds kinda scary. I don't want to have a racist or a misogynist in my team or company but this seems to go way too far.
I think this person is trying to make it sound scary.
Interview responses are monitored for tone and vocabulary everywhere. Insufficient enthusiasm is often a valid reason not to hire someone. It is appropriate to ask questions about diversity and feminism during an interview—those are core values of the company, the first bullet point on their Careers page, even. https://github.com/about/careers