https://david-kerwick.github.io/2016/05/25/using-bitbucket-pipelines-to-run-sonarqube-analysis.html
Arquivo da tag: Bitbucket
DEPLOY COM BITBUCKET – PIPELINE
Mudar de Branch com Git
Quando criar um branch pelo sistema do bitbucket, basta que você entre no seu projeto pelo terminal e execute esse comando:
git fetch && git checkout branch_exemplo
Então você passará a usar o seu novo branch.