I think that's probably the wrong cord/plug, but if you have the matching outlet in your garage then go with it. Otherwise, you'll probably want to use something with a "welder" style plug.
The wiring is easy, usually it's just a matter of matching the colors.
The Green wire is ground, and...