Pulling child’s hair

When I was a child my mom used to pull my hair, sometimes swing me in circles by my hair as a punishment for hitting or being mean to my sister, etc.. She did this when I was pretty young, she stopped doing it by the time I was probably 10 years old. Now when I bring it up she’s denied doing it or even said “and look how you turned out” implying I’m a good person because of this punishment.

I have a daughter of my own now who is a year old and I could NEVER imagine doing any kind of harm to her. I’m scared that this could be something I need to worry about her doing to my daughter. I’m totally against this kind of punishment. What should I do to make sure this doesn’t happen to my daughter?