Ability to block edit main branch

I’d like to have typical git workflow in Figma. When we maintain a git repo, we don’t edit main branch directly. The updates always come from PR from branch. To do this, I set a restriction to avoid direct push in main repo. I’d like to have same restriction in Figma, the main branch can’t be edit directly, every updates come from merge from branch. By doing this, the version history would be much cleaner and meaningful.