Each encoder must have a 6-pin connector soldered to its PCB. Both PCB’s are exactly the same - as are the connectors - but they are assembled in slightly different configurations.
This manner of assembly allows both sets of wires to go in the same direction from the gear head towards the back of each of the motors (as we’ll see during final assembly and mounting of the Motor Mount and Wheel assemblies).