Branches are arguably one of the most important features of git - they allow you to keep multiple histories of your repository at the same time. Start using them early and often!
https://emptymodels.substack.com/p/git-for-scientists-2-how-to-use-branches?utm_source=youtube