G0 is the first G-Code, it signifies 'go to the following co-ordinates as fast as you can, doesn't have to be a straight line'.

Usually used to position the tool, cutting air.

G1 does a straight line and applies a feed rate.

G2, G3 are clockwise/counterclockwise arcs.

You can pick and choose from the rest, I ignore most of them.