Your current motor connection lead to the controller, one can open the controller and de - solder or cut the wiring from inside so it you won't be left short when permanently soldering the wires to the new controller if use go down that route instead of using connectors.
The phase wires at the controller will be bullets so solder direct is the best option or I use a MT60 tri connector.
The halls uses a 6 port block connector, one can fit the opposite mating one to the motor cable halls. The designation on ebay to look for is dj7061a-2.8-11.
Circuit Wire Connector Terminal Block 2.8mm Pin 6-Way Socket Plug Polyamide | eBay
The phase wires at the controller will be bullets so solder direct is the best option or I use a MT60 tri connector.
The halls uses a 6 port block connector, one can fit the opposite mating one to the motor cable halls. The designation on ebay to look for is dj7061a-2.8-11.
Circuit Wire Connector Terminal Block 2.8mm Pin 6-Way Socket Plug Polyamide | eBay