I've volunteered at a few NYC BGC events, and can confirm that sometimes girls bring a non-black friend, so it's definitely ok.
More concretely, the need for this program is described as a welcoming environment for black girls to get into STEM, because black girls are discouraged being that they are "outsiders".
Why would a white girl not feel like an "outsider" as a program specifically for black girls?