Mikkel’s way of using git seems like it would work for me too.
Bookmark of 'Git is my buddy: Effective Git as a solo developer - Mikkel Paulson'
Git is my buddy: Effective Git as a solo developer - Mikkel Paulson At this point, most developers use Git as a tool for collaboration. We have our rote-learned commands to pull, commit, and push. And of course, there's that one coworker who knows a bit more about Git than everyone else, who helps get us back on track whenever our local repos end up in a strange state. But what if I told you that Git can be a valuable tool without ever setting up a remote repository? I'm not just talking about having a working version of your code base to roll back to if you mess something up, although there's that too. Used correctly, Git can help to structure your work, identifying gaps in your test coverage and minimizing dead code.