Distribute access to employees.

Hello!
Help me figure out the accesses.
There is a private repository. There is a main programmer with write rights. How to add a secondary programmer, so that he has access to all branches for writing, except for the master branch. As well as the creation of new branches. For the branch master, read-only.

Help me)

Hi @GSergeR, welcome to the community!

You can invite an outside collaborator tot he private repository.

However, you cannot restrict their access to the Main branch. If you give the user write access, they can push to the Main branch.

If you have our Team plan, you can create branch rules with Protected Branches to limit the access of collaborators.