You can do whatever you want on your own machine, nobody cares about that.
https://trunkbaseddevelopment.com/
https://guides.github.com/introduction/flow/
https://nvie.com/posts/a-successful-git-branching-model/
Jokes aside, I never understood why is this a good idea.
By Kiss György