You’re likely thinking of Mad Max: Fury Road (2015).
The guitarist is The Doof Warrior (played by iOTA), a blind musician strapped to a massive speaker truck (“Doof Wagon”) who shreds a flame-throwing electric guitar during the chase. He’s not the protagonist (Max), but his diegetic score is iconic.
If you meant a solo wanderer with a guitar, describe more details (era, tone, plot).