What Wingate said is correct. Pull both negatives first, then positives. Current flow is from Negative to Positive. Once negative terminals are disconnected there is no chance of the positive terminals contacting parts of the truck and causing shorts. Good time to clean the terminals - I use technican grade cleaner then the red battery terminal light grease to ensure no corrosion. Also, check your battery trays while the batts are out and clean those with baking soda solution to negate the acid, then you can repaint, or apply WD-40 or another film lube to help prevent rust.
Of course replacing batts in pairs is a good idea if the batts are more than a year old or so.
Luke