Current education systems have technology as a subject that students can opt in or out of. In my experiences, many girls gravitate towards other subjects, with the mindset that technology is for boys. To combat this, the government can step in and mandate technology education for all students.
This will ensure that girls are at least getting exposure to technology in the classroom. Also, African schools need to shift their model from relying solely on theory/knowledge based learning to more practical skills training.
While knowledge-based learning is important, practical skills training will shift perspectives and enable girls to attain hard skills from an early age.