I think the issue is the sparks generated when connecting/disconnecting alligator clamps at the battery terminals. If you connect the + terminal at the battery and then connect the - terminal at a body ground point, any sparks generated will be at the ground point, away from the battery and possible hydrogen gas.