We don't know the purpose of the survey, but it's described as an "open source developer survey". I imagine gender was thrown in because, hey maybe the women use vim and the men use emacs for some reason, and that's kind of interesting to know.
I briefly checked the Stack Overflow survey as a comparison: https://insights.stackoverflow.com/survey/2017