The word “girl” was not initially used to refer to a specific gender. It used to mean “child” or “young person” regardless of the gender.