If you've got GERD you can try eating a low FODMAP diet. Worth googling, lot of stuff from the NHS in the UK about it for treating IBS.
I had to cut out Garlic, Onions and most of that family of vegetables (alliums) as after trying to cut out the foods the low FODMAP diet suggests, those were the ones that actually caused my symptoms to cease entirely. I then returned to eating whatever else really I wanted, and I transitioned to vegetarianism and then veganism afterwards with no ill-effects over a few years.