Garlic = Gas??

So my husband and I were wanting some chips and dip last night, (not the most healthy snack, but it was a treat!) I made some onion and garlic dip and it went down good last night, but since I woke up today my stomach has been bloated and gassy, I’ve been passing terrible gas and been feeling pretty crappy... obviously I’m think no more dip for me.. but was wondering if anyone else has experienced this? And will baby be okay? Super paranoid now because this feels yucky