We would create two main branches for lifetime: master branch would always have production-ready kind of code for automation framework i.e. It should have only that code pushed…