Two things I learned as an expediter.
I took many detailed pictures of my battery connections.
I then drew a drawing, labeled for my maintenance file.
Then, when I’d clean them, I’d count wires per stud, remove nut, and zip tie the eyelets together.
Not tightly, but tight enough not to get lose...