Where does the word pundit come from?

From the Hindi/Sanskrit word 'pandit'. It originally meant someone knowledgeable in (Hindu) religion. Now generally refers to an expert in a particular field. Examples include football pundits, political pundit etc.