First you should determine if the issue lies with the arduino or the g-shield. The DRV8818 on the g-shield receives the direction signal from the arduino in the form of a high or low signal. You should unplug the shield from the arduino and stick a pin in D7 and measure the voltage between that pin and ground. If the voltage changes from 0V to 5V when you change direction (send G91G0Z100 and then G91G0Z-100). If the voltage is changing, plug the shield back in and test the same pin. If the voltage is now not changing then there is some issue on the g-shield.
If the voltage was not changing when the board was unplugged then the issue is on the arduino board.