My favourite thing I’ve learnt from my Word Origin Calendar (second best non-Christmas present I got for Christmas) is that:

The word “girl” originally referred to a child of either sex, possibly coming from the Old-English word gierela, a garment that children wore. See also: Metonymy.