Also while it is indisputable that software has cultural issues and is male dominated it is not true that the knowledge is gatekept or guarded.
Software has some of the most ostentatious countercultural diversity movements of any field and even the fashy silicon valley scientific racists are surprisingly free with the actual knowledge of how to code (even if they'll never welcome you if you do). There are so many resources to learn and so many people freely publish their work for others to study and improve on.
Enormous effort in many projects like rust and godot has gone into making documentation and resources more approachable and welcoming. Challenging biases, and even git replaced common terminology like master/slave branches to avoid excluding people and help address racism in the community.