I do not know if it is ok to post another site that I found but it will give you a diagram that you are looking for I hope. https://www.otherpower.com/otherpower_battery_wiring.html
The series example is what I use on golf carts to take 6, 8 volt batteries to get 48 volts out of them.