How do I remember so many rhymes and songs on the guitar?

For there’s a beginning and an end. As most people know, the words nearly always rhyme and a song can stuck in your head. Music can trigger the brain to get into a song and the melody will drive them along the yellow brick path, if you have heard it several times.