Yellows each go to a yellow alternator stator coil wire, doesn't matter which one. The stator is the big outer coil that sits outside the rotor.
Green goes to ground and to the green alternator field coil wire (if you have two whites, pick either one of the whites). The field coil is the small one that sits inside the rotor. If you have a multimeter, check if this green wire connects to the case. If so, and you bolt the case onto the frame, this connects the ground and you don't have to connect the green to ground again.
White goes to the white field coil wire, or the other one if you have two whites.
Red goes directly to battery "+", the alternator output comes from this wire.
Black goes to switched ignition power. If you connect it directly to battery "+" the alternator will work fine, but it draws power and will drain your battery flat in an hour or so after stopping the engine. It gets switched power so as to cut off this load when the key is off.