@kitten rule of thumb: If something is an object or if someone or something has a gender, has absolutly nothing to do with its grammatical gender in germany...
For example: The girl - Das Mädchen
Das Mädchen hat hübsche Schuhe und es hat Locken. The "es" refers to the Mädchen in this case...