This question would benefit from a bit of context, but nonetheless, chances are, the correct procedure is to first turn off the circuit breaker, and then it won't matter which wire you disconnect first since there will be no current in it. Also note, if you do not know what you are doing, don't try doing electrical work, you may electrocute yourself and get killed.
Always the negative cable first.
You need to disconnect the negative FIRST. For most applications, you only need to disconnect the negative. Always disconnect the negative first, always reconnect the positive first.
Positive, because the negative terminal is usually used as the ground plane.
Disconnect positive cable first then negative. Reconnect the negative cable first then positive.
First you must disconnect the negative(-) pole, then disconnect the positive(+), connect the new battery begining with the positive(+) pole, then the negative one.
Negative
Disconnect the negative cable FIRST!..then disconnect the positive and remove.
Connect the positive + cable first and negative - last. When disconnecting them disconnect the negative - first and positive + last.
Negative, that way if hit a ground while on pos bolt it wont short out.
Disconnect the battery negative first, then disconnect the positive. Look at the base of the battery for bolts... you'll have to remove these to unbolt the battery from the bracket. Once this is done, pull up and the battery should come out. Place the new battery. Reinstall the brackets. Reconnect the positive first then the negative.
Remove the negative and then positive cables from the battery.
Always disconnect the negative (-,black, smaller) & then the positive (+,red,slightly larger). Installation is the reverse.