Overview
A named line of source code history used for deployment.
Definition
A named line of source code history used for deployment.
Real-world example
Connect repo my-saas, deploy branch main for production and branch staging for preview, each with different DATABASE_URL values.
Common mistake
Deleting a branch that is still configured as the deploy target, causing webhook failures.
Better-PaaS in practice
Branch is set per app in Git settings. Webhooks typically fire only for the configured branch.
FAQ
Is Git branch only relevant to Better-PaaS?
No. Git branch appears across Docker, cloud platforms, and self-hosted tooling. Better-PaaS exposes the concept in deploy logs, dashboard fields, or docs when it affects your app.