Used to work on electric fork lifts and tractors used in flammable areas. We always disconnected the ground side first when changing battery packs or other components.
Once saw a pry bar blow like a fuse when dropped across the frame and battery post before the ground was disconnected. After seeing a demonstration of the power that can be stored in low voltage batteries, you will always remember -
GROUND SIDE FIRST.