wit: (noun) intelligence; mental sharpness; often used when describing someone who has quick and funny responses
Used in the expression “to wit”.
whit: (noun) a tiny amount; a small part
NOT used in the expression “to wit”.
to wit: (adverb) in other words; namely; that is to say