Gdim is made of these notes: G (root), Bb (minor third), Db (diminished fifth).
With this shape the strings sound like this, from the G string to the E string: G, G, Db, Bb.
A diminished chord is two minor thirds stacked on top of each other. It sounds tense and is usually played only briefly as a passing chord.
Gdim belongs to these major keys: A flat major (degree VII).