And I think you will agree with me when I say that it is better to have a public repository, if you want to learn(unless ofcourse github wants female programmers to become closed source programmers). By handing out a freebie to the girls, you are telling the boys the exact same thing which your daughter's teacher told her.
We don't want girls/boys to become programmers, we want them to become whatever they want to. Having promotional activities for females may send a wrong impresion about a particular field to boys - who are also as human and as impresionable as the girls are in school. How many boys do you think take up engineering, just because it is seen as a manly branch and the society expects them to? I would argue many and that is a massive disadvantage to the boys who want to pursue something else.
We should aim at leveling the field instead of providing some people a helping hand at the cost of others. If helping girls take up CS is done by having girls-only CS colleges, free tuition for female CS students or free course material or as in this case free services based on gender, I will say stop. Because boys who are thinking of taking up CS will cry foul. What did your neighbour's son do to not deserve a free github private repo?
Instead, try changing the society. Tell your sons and daughters they can do anything. Tell your students that gender means nothing. Tell the teachers at your daughters school to back off and complain about her to the school authorities.
To be honest, I have no idea if that will work. But what I do believe is if you start handing out freebies to someone based on gender, it will poison the well for the boys, who will cry foul. It wasn't their fault they were born as boys. Equality - yes. Preferential treatment - no.