Safe way? Get a multimeter, and see if the cables from the good battery are outputting 12V.
If I don't see some spark, or crackling sound, I strike quickly the 2 clamps across each other, lightly too, almost missing.
Then if the ground cable clamp is not sparking when completing the connections, then the battery (+) post is NOT connected well to the (+) cable.