G0 is used to position the tool. G0 is expected to be used when not using the tool, but firmware such as Marlin interprets G0 and G1 as the same command.
G0 and G1 may be interpreted as the same command in some firmare.
G0 X100 Y100
Move 100 units on both the X and Y axis. The tool would move diagonally.