It's just three wires and not a mission to Mars
1) Get on Youtube and learn how to unpin the wires from the connector.
2) Get some same gauge wire, a soldering gun, and heat shrink wire insulating wrap.
3) Disconnect the battery.
4) Remove the connector and unpin the severed wires.
5) Extend the wires, solder, and insulate.
6) Re-pin into the connector.
7) Plug in the connector
8) Reattach the battery