My little trick when changing batteries is to use colored Tyraps. (Tie-wraps, whatever) Sometimes we get into large battery backup systems, so the same idea works.
On a motorhome, attach black Tyraps to every negative terminal leaving the batteries. (ignore 6 volt battery jumpers) Use red Tyraps for all chassis positives, and yellow for house positives.
The marked black are all frame-ground common, so it matters little how they go back. The red and yellow wires/cables need to just go back to the proper battery set.
As for 6 volt batteries, (i.e. golf cart) just count the caps. Each cap (cell) is about 2 volts. A 12 volt battery has six caps, a 6 volt battery has three caps. You need SIX fill caps for ALL motorhome house battery sets. The jumpers are to go from positive to negative on a pair of 6 volt batteries, and that's why I said to mark with Tyraps the cables that leave the set to head to whatever. If you have four golf carts, then you need TWO sets of six cells/caps.