Both (A) and (B) are OK. what, whatever, which, whichever do not form symmetric patterns of usage! Add garlic to the ['thing' / recipe / dish] (that) you're making.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.