Broken down college kid

as far as hooking the wires back up to the alternator. There is a ground wire i believe that uses a nut to fasten to it with some black plastic shroud around it. and then I have two connectors one is point directly up and one points toward the engine. One wire is blue and the other is green. How are these to be connected, I might have them backwards. I have the green wire on the terminal pointing straight up and the blue is on the terminal directed toward the engine.