Learning the melody in the key of C uses a lot of the same shapes you'll use playing up the neck in the key of G. Pay close attention to the tab. There are times when you will need to slide out of a note or into a note to shift positions. Also learn the lyrics! It helps you memorize the pitch and rhythm changes of the melody.