> to fix a deep water cable, the ship has to use a grapnel, which grabs and cuts the cable, dragging the two loose ends to the surface. If needed, one end can then be hooked to a buoy and the other end brought on board. Cable has to be added to make the repair, since there is not enough slack to bring the cable up and cut a piece out. After the cable is retrieved and on board, in a repair room that looks like a laboratory, engineers repair the cable. Data cables can take up to 16 hours to repair, after which they are lowered back down to the sea bed in an omega or hairpin pattern to accommodate the extra length. There is new technology in development that would make in situ repair possible for power cables, preventing the need to pull the cables up to the surface.
You find the ends, pick them up, and there's a kit that can fuse the ends to your new piece. I'm not sure about the details, but I think there are repeaters on the wire that need to be added as well.
Yes, commonly there are high-voltage cables in there.
Nowadays, for shorter runs (that are still long enough to need repeaters) there are also purely optical repeaters where instead separate fiber strands deliver light from a pump laser.
For submarine cables, there aren't that many strands, so getting it right is probably worth it, for terrestrial fiber, there may be 100+ strands, so they usually can sort things out at the ends, and I think you just fuse any strand to any strand. Sometimes, only some strands break and you can reallocate strands by priority until the cable can be fixed.
Strands in a bundle would likely have color coded sheaths. As long as you're not colorblind, it's pretty straightforward matching what gets spliced where.
https://www.onesteppower.com/post/subsea-cable-repair