I have a private repository where there are multiple branches and we are using continuous deployment on a specific master branch. I have couple of resources who works on this repository and have been added a collaborate with Write Access on this specific repository. I would like those user not to be able to access or use one specific branch that is master but can still create different feature branches and work as usual to other branches and also create there own from this repository.
I want to just restrict one specific master branch to just have access to one user and not all who are added as a collaborator with write access to this repository.
Any help is appreciated.
Regards