default branch

The branch a repository treats as its main line, usually main, which pull requests target by default.

In more detail

New pull requests target it unless you choose otherwise, and scheduled workflows run on it. In GitHub Actions, caches saved on the default branch are visible to every other branch.

Related terms

Taught in

References

Certification courses