If you can see a small protruding white dot on the underside by the pelvic/ventral fins, it is a girl. But if your betta is young, then I'm unsure at what age the females begin showing their ovipositor, or often known as "egg spot". But if you see it the egg spot, it's definitely a girl
.