Why does my fondue call to wipe the pot with garlic?
You rub the garlic in the pot to gain a subtle garlic flavour. Same idea as rubbing a sliced garlic clove on grilled bread, or on meat prior to cooking.

Raw garlic is also moderately antibacterial in nature, so I suppose that could be a reason too.