If the house is wired correctly the red and black should be your hot leads and white neutral. I am assuming it is a 220 range. Take a volt meter and check;
Red to white = 110 to 120
Black to white = 110 to 120
Red to black = 220 to 240
On the range side the green should be the neutral lead. (but look up the manual online).
with 220 appliances it does not matter what side the 2 hot wires go to as long as you get the neutral correct. But if this is a 110 appliance then forget everything I just said.
You can throw some wire nuts on it just tape them up well. But code would be to install a junction box.