Hi and
to the forum.
If you purchase a hubmotor kit
and a battery at the same time, the power cable from the motor usually comes with the correct connector for the battery.
However, if you purchase just the hubmotor kit
without a battery, the ends of the power cable are simply left bare and unterminated ready for you to fit connectors of your own choice to suit whatever battery connections you are using.
Alan