From Old Irish commann (“alliance, pact”), from Latin commentum.
comann m (genitive singular comainn, plural comainn)