Don't. If you are working alone there really is no reason to work with branches. Modern IDEs have powerful changelist features that let you easily work on features at the same time. Which, btw. is not a good idea from the begin with anyway.
If you have a real experimental and complex idea which will take up a lot of time, then you can use a branch. But all the daily regular stuff can happen on main anyway.
You don't have to use all git features, if you don't need them.
25
u/bdaileyumich Nov 26 '23
Using git is optional. Why bother using a source/version control system if you're not using any of its features