A G♯ Diminished (G♯dim) chord contains the notes G#, D, B. It is built from the diminished formula 1 - ♭3 - ♭5, with G# as the root.
When would you actually play G♯dim?
In the key of A major, when a progression walks through the full diatonic set rather than sticking to A, D and E. It typically appears for a beat as tension between two stable chords, then resolves.