Push permissions allow you to restrict write permissions in a specific branch in the repository. Here’s how:
- Go to Code, switch the tabs to Branches and click the branch that you want to restrict.
- Click Push permissions in the right column and select who’s allowed to make pushes.
Users with restricted access will still be able to pull that branch and browse its contents; however, they will not be able to push or merge it remotely or manage its files from the source browser. You have to be an admin to view and change this setting.