I'm trying to workout a workflow where changes need to be approved before they can be merged into the master branch.
One obvious solution is reject/approve pull requests. But the problem we have is that we don't want employees maintaining their own repos of the company code. Therefore, we have a company account/repo that everyone pushes to. Is there a way we can give users their own copy of the code under their account, but revoke access once they leave the company, so we can use pull requests effectively?
What are my other options around restricting commits to the branch.
We use bitbucket.