In the key of G, chord I, IV and V will come from the G major scale as shown below.
The new chord here is D. Memorise the fingering and then practice changing between D and G and also D and C.
Now try Example 6 for an idea of how these three chords sound when used in the key of G.