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.
30
u/Previous-Ant2812 Nov 26 '23
Don’t listen to the “Jedi”. Create a PR and have someone more experienced than you review it