Yes got it, thank you.
Gmaj7 G B D F#
G7 G B D F
Chm C D Eb F G Ab B
Cmm C D Eb F G A B
generically
maj7 1 3 5 7
dom7 1 3 5 b7
hm 1 2 b3 4 5 b6 7
mm 1 2 b3 4 5 6 7
Finding all this fascinating. Reminds me somewhat of reading DNA sequences to determine the codons and amino acids encoded.
I think what Pete meant is that the G7 chord lives just as happily in a melodic minor scale, or a harmonic minor scale, as it does a mixolydian mode or a major scale.
So you could have:-
G7 - G mixolydian. Modal thinking, G is your tonic. The chord still has G B D F. If you want to add extensions, you'll add 9th, 11th, 13th - A, C, E.
G7 - C major. Major harmonic thinking. C is your tonic. The chord still has G B D F. If you want to add extensions, you might add the 9th and 13th. A, E. (The 11th is generally not played as per above).
G7 - C minor harmonic. Minor thinking. C is your tonic. The chord still has G B D F. If you want to add extensions, you might add a b9, b13 - Ab, Eb. This helps give the characteristic harmonic minor sound running up from the G - G-Ab-B-C. With the alterations the fifth may well get dropped.
G7 - C melodic minor. Melodic minor thinking. C is your tonic. The chord still has G B D F. Alteration would be the 9th and the b13 - A and Eb. With the alterations, the fifth may well get dropped.
G7alt - also a C minor approach. C is your tonic. The chord has G B F, but no 5th (at least not an unaltered one). Instead you would think of the G altered scale, which comes from Ab minor melodic - G, Ab, Bb, Cb, Db, Eb, F.
And the best bit is, they can all (mostly) be interchangeable.