Gm is made of these notes: G (root), Bb (minor third), D (fifth).
With this shape the strings sound like this, from the G string to the E string: G, D, Bb, G.
A minor chord sounds softer and often a little sad. It differs from the major chord in just one note: the third is a half step lower.
Gm belongs to these major keys: F major (degree II), E flat major (degree III), B flat major (degree VI).