Here’s a video tutorial teaching the main parts of the bass line to Get It On by T Rex:
If you’re not registered for the free members area featuring song tutorials, sight reading etudes and more…here’s where to do it: https://how-to-play-bass.com/register/free-bass-lessons1
If you’re a bass beginner….check out the only 6 things you should be practicing: https://how-to-play-bass.com/htpb50-6-things-practice
….and how you can too!
More here: https://how-to-play-bass.com/mccartney-bass