One of the best ways to learn and practice music on guitar is to play along with songs that have been slowed down.
There are different apps you can use to slow down music as well as loop song segments and change the pitch of the music which has many useful benefits:
You can hear what’s happening in a song more clearly. You can play along with the song and stay in time with the music more easily. You can practice your technique by playing along with looped song segments and finally you can change the pitch of songs that do not match your guitar tuning.