Just get the same connector from another car cut all the wires and butt connect or solder the wires back to gather. Connectors also come apart pull the blue or white cover and you will see the pin locks you then pull them back and you can pull out the pin and put the pins into the other connector(mark where thy came from).
A quick check to see if the alternator is working.Engine off 12v at the battery.Engine on 14v at the battery. Just for you.