Seeking advice on maintaining project stability in version control

Hey everyone! I’m trying to figure out the best way to keep my project stable while using version control. I’ve heard different opinions on how to set things up.

Right now, I’ve got two branches: one for the stable version that people can download, and another for ongoing development. When I finish new features, I merge them into the stable branch.

Is this a good way to do it? Or are there better methods? I’d love to hear how you all handle this in your own projects. What works well for you?

Also, I’m curious about any tips for making sure the stable branch stays reliable. How often do you update it? Do you use any specific tools or practices?

Thanks in advance for any advice!

i’ve found that feature branches works best. make a separate branch for every feature or fix, then merge when ready. this keeps main stable and reduces conflicts. always run tests before merging. hope this helps!