- Create a private repository
- Create 3 branches (Prod, Staging and Dev)
- Add team as collaborators to this repository.
- Enable SSH based authentication
- Protect Master and staging branches
- 1 approval needed to check-in code on staging branch and 2 approvals needed to check-in code on to Prod branch
- Build and Deploy should be successful before check-in the code onto staging branch as well as onto Prod branch