I've heard of some lines being more prone to bloat than others.
Some people do a gastopexy, where the stomach is tacked to the abdominal wall, so that it can't twist if the dog does bloat. I didn't do that with Leo (GSD are also a breed prone to bloat), and there are times when it crosses my mind that I might have made the wrong decision about that, despite my vet's reassurance that bloat isn't as common as the internet can make it seem.
Some people do a gastopexy, where the stomach is tacked to the abdominal wall, so that it can't twist if the dog does bloat. I didn't do that with Leo (GSD are also a breed prone to bloat), and there are times when it crosses my mind that I might have made the wrong decision about that, despite my vet's reassurance that bloat isn't as common as the internet can make it seem.