It's not just girls but some guys are sometimes sensitive to the mention of their girlfriends' exes.

It's best not to bring up the past. Even if she asks, you could respond with things like, "I don't want to talk about <i>her</i>/<i>that</i>!"