It is interesting that mamba is crocodile in kiswahilu versus in english a black mamba is a snake.
They're actually cognate words. The English word mamba comes from the Zulu word imamba. The original meaning seems to be connected to "scale(s)".