I'm new to GIT but have used VSTS for a while. I want to build/deploy from specific branches. I read this:
YAML PR triggers are only supported in GitHuib and Bitbucket Cloud. If you are using Azure Repos Git you can configure a branch policy for build validation in order to trigger your build pipeline for validation.
I read about branch policies, but I am not seeing the connection. All I want is to create a build pipeline for my develop branch and another one for my staging branch. Can someone please explain how to accomplish this?

