People who come from broken homes often end up recreating that environment in their relationships. That's what a part of you is used to, so you keep going back to it. Unfortunately, if something doesn't change, your child will end up with the very same thing happening to them. It's possible to change, but it takes a lot of long term effort and hard work as well as counseling. Most people who say they just want to be different, end up continuing the behavior. I'll bet that's what happened to your parents. Be smarter than them. Seek out counseling so your child doesn't grow up in the same environment. And if the two of you really can't learn how to get along, it'll much better for your child if you and her are separated. Growing up with separated parents is better for a child than growing up in a house with a lot of fighting.
“This planet has - or rather had - a problem, which was this: most of the people living on it were unhappy for pretty much of the time. Many solutions were suggested for this problem, but most of these were largely concerned with the movement of small green pieces of paper, which was odd because on the whole it wasn't the small green pieces of paper that were unhappy.” ― Douglas Adams, The Hitchhiker's Guide to the Galaxy