In theory this should only ocure at the main junction box ...
but if EVERYTHING is done right, then it is safe - but not in code.
Connect to the circuit neutral wire which should also be white.
The neutral wire and power wire are never connected together.
Red is hot Green is ground White is neutral
Normally red or black is the hot wire and green is the ground. However someone may have used the green wire as the neutral wire which is normally white. Just connect the black wire from the light to the red wire and the white wire from the light to the green wire and see if it works. If not you have to pull the wires out of the ceiling box and see how they wired it.
The new cooktop has a 4 wire connection. Red & Black are hot. White is neutral, and green is ground. You existing panel is wired with 3 wires. Black & Red are hot and green is ground. There is no neutral wire. Connect the black to black, red to red, and then connect the white and ground together at the plug.
The white is neutral. The house does have a neutral wire even though it may be black. One of those black wires is the neutral and the other is the hot wire. You will have to determine which is hot and which is neutral. You can easily do this with a voltage tester. The wire that lights the tester is the hot. When you wire the light simply wire the hot to hot, and the white and green to the other wire.
Green wire must be grounded for safety. The two white wires are phase and neutral. You can discover which one is the hot wire by using a mulltimeter. But there is no needing to discover it. About the green wire only an electrician can install it properly. It can be joined to the neutral wire, but it is not advisable for any electrical device. The correct procedure is to connect the ground wire on the recommended manner. Normally lamps do not need to be grounded.
NO. Your GREEN wire is your grounding conductor. Your WHITE wires can be either of two things: 1) A natural white wire will be your (Neutral) line, 2) A "Tagged" white wire is a (Hot) or Live wire. Which means that if your white wire is tagged, it is a "Secondary BLACK" wire. Usually you will find an indication of "tagging" at the front of each sides connection of the wire.
If you are connecting 120 volts, you connect the black wire to the breaker, white wire to the neutral bar, and ground wire to the ground bar. If you are connecting 240 volts connect the black & white wires to the breaker, & ground wire to the ground bar.
The white wire would go to the neutral bar. Just be sure of the shunt trip voltage required for the breaker and land the white wire on the appropriate neutral bar in the correct panel.
White is the neutral wire. Black is hot, green is ground.
I am guessing that your 3 wires are black (hot), white (neutral) and bare or green wire (ground). Connect black to black, white to white and ground wire to the metal case of swag kit.