When foreign words are taken into English as slang, it's usually re-spelt. Another example is 'savvy' (as in "I'm in charge here, savvy?") comes from the French 'savez'.
If you're not sure of a word and you think it might be foreign, just say it aloud and think of the sound instead of the spelling. You might just recognise it.
Yes, it comes from the Italian 'capisci?'='you understand?' We also spell 'kapish' as 'capeesh'.