The opposite of a boy, not a girl. As the opposite of a girl is an anti-boy.
Gender is on a
spectrum, and isn't limited to 2 genders. Of which in the spectrum an anti-boy is the polar opposite of a girl. Such as how a
demi-boy is the opposite of a guy.