I learned many years ago that referring to any female over the age of puberty as a "girl," as opposed to a "woman" is demeaning, derogatory, and misogynistic. Now I am learning that we are not supposed to refer to any person, regardless of age or gender, by gender-based pronouns.
That’s why it’s safest to just say ‘it’.