Go to Site settings >> Build & deploy >> Continuous Deployment >> Branches, then click on Edit settings