I had a pit bull back when I lived in PA. She was a very sweet dog. She did get excited at times, but it was a happy excitement. That kind of excitement was enough to scare anyone who saw her simply because she was a pit bull. She’d lick you to death, that’s about it.
However, the history of the breed does contain violence and for that reason only experienced dog people who know dog behavior should own one. Also, there are disreputable breeders out there who actually breed violence into their dogs. So yes you should be concerned but if you know dogs and their behavior, you’ll generally know what to avoid when buying a pup. If you don’t know anything about dogs, it’s a good idea to stay away from them. However, there are other breeds that have even more violent tendencies so if you know nothing about dogs, stick with the reliable labrador or golden retrievers.
I also once had a borzoi and when I walked her down the streets of a certain New Jersey town, everyone went to the other side of the road. Why? Well, I overheard a woman walking with her child who said to the child, “don’t go near that dog, it’s a pit bull”. If you google pictures of pit bulls and borzoi, I’m sure you’ll see they’re verrrry similar…

Just to give you an idea of what most people on the street know about dogs.
Anyway, it’s good to be cautious of certain breeds of dogs, but don’t go crazy.
I also subscribe to the theory that in most cases it’s not the dog, it’s the owner. Although there are dogs that I had come across that were just plain nasty no matter who owned them, and in that list was a basset hound, a golden retriever, a rottweiler, a german shepherd and a chesapeake bay retriever, many cocker spaniels and a toy schnauzer… just to name a few. The bassett had to be put down because it was so nasty that it attacked children, so this trait is by no means confined just to pit bulls or other percieved “nasty” breeds. But in general - and I have seen probably thousands of dogs - I believe that most of the “attack” circumstances could have been avoided had the owner simply learned about the breed and paid attention to it’s behavior .
Not all, but most. There are exceptions to everything.
Snert