Bars 19-21 We come to the end of the solo with more stylistic string bending phrases, which concluding with a descending G# ...
So the Harmonic Minor’s G# sits perfectly over the E7 chord ... I would urge you to explore the harmonic minor scale across the entire guitar neck using the CAGED system. The good news is ...
Harmonic minors use the relative major key signature and raise the seventh note of the scale. For example, in A harmonic minor there are no sharps or flats other than the raised seventh of G#.