After the first release of our product, we will be switching to a different branches for the main development and feature development. Is there a way to create a branch in such
Since the OP shershams mentioned in the comments
we're planning to switch to github and I was wondering if they have something implemented there for this purpose
It turns out there is something implemented (and available soon) in GitHub:
Protected branches and required status checks (September 3, 2015) will allow you to protect a branch:
Note that, since Dec. 4th 2019, you can grant all users with push access the ability to delete a protected branch by enabling Allow deletions
.