The story
Borrowed from Bantu katogo (“casserole, pot; stew”); while one author suggests the word is derived from Luganda, another has been suggested it is not possible to identify the specific Bantu language as the word is found in several of them.
Etymology from Wiktionary, CC BY-SA 4.0.