Oh dear.....by the time you hear from everyone what they couldn't eat and from your HV what you shouldn't eat, you'll be left with zero on your plate bar a few grains of white rice.
Babies take in wind when they feed.
Mostly, they deal with it without a song and dance. They don't even need our efforts to pat them/jiggle them/rub their backs....lo and behold, their little systems do it all for them
There is no sensible reason why broccoli or white wine or onions or whatever can go through your digestive tract, into your blood stream and thence to your milk in anything other than the minutest quantities (and I am talking minute) - certainly not enough to make the gaseous qualities of (say) onions act in the same way on a baby.
However, people are convinced that certain foods do cause wind, and maybe they are right in individual cases - they are not right 'enough' for their experience to be generalised for other mothers, though.
Watching what you eat is bloody hard work, and only to be done if you are absolutely driven to it.
A baby of 2 weeks has a very new digestive tract. It takes time for the baby to get used to taking her food in with this new method, and she'll burp and fart and wriggle and posset and squeak.....but there is nothing really wrong with babies who do this.
My opinion only: life's too short to mess about with changing your diet on top of all the other stuff you have to do as a mother.