The standard grips this chord is usually shown with.
G5 is G and D, a power chord. The shape this page opens on is written 355xxx, lowest string first.
Note by note. G is the root and D is the fifth.

Also written G(no 3rd) or G power chord. The same chord either way; which spelling you meet depends on who wrote the chart.
There are 2 common shapes for G5 on the guitar, and 25 derived voicings in the triad family.
One note away. Change a single note of G5 and you have G (with one note added), Gm (with one note added), Gsus2 (with one note added), Gsus4 (with one note added), G/B (with one note added) or G/D (with one note added).
In which keys. Every note of G5 belongs to C major (the V), C minor (the v), D major (the IV), D minor (the iv), Eb major (the iii), E minor (the ♭III), F major (the ii), G major (the I), G minor (the i), A minor (the ♭VII), Bb major (the vi) and B minor (the ♭VI).
The common shapes, written lowest string first: 355xxx, x-10-12-x-x-x.
Under the hand. None of the shapes for G5 uses an open string, so every one of them is movable; the lowest sits at the 3rd fret. None of them needs a barre. Together they cover the neck from the 3rd fret to the 12th.
Triad. Three notes across one string set. G5 has 355xxx, xxx033, xx003x, xx0033, x557xx, xx078x, x-x-x-0-8-10, x-x-0-0-8-10.
What kind of chord this is. G5 is a suspended chord — root and fifth, with a second or fourth where the third would be — or nothing at all. suspended and power chords on every root, and what they are for.
The common shapes and the derived voicings come from different places, and both are explained in where the chords and the theory come from.
Shows each chord the way this style would voice it, and marks which of its alternatives belong to the idiom.