The male JST-GH connector has a clip on top. As described in the Dronecode standard, the first (leftmost) wire is usually the positive voltage. In some cables this wire is red. The last (rightmost) wire is ground. The wires in between carry different kinds of signals, depending on the function.