Menu
Operations

Coding & Git

Main

Also called main branch, default branch.

In plain English

main is a common name for a repository's default branch. Git does not require that name.

Example

Two projects both use Git. One calls the default branch main. The other calls it trunk. Both are valid. The name does not change how commits work.

Why it matters

A project can call its default branch main, trunk, master, or something else. The name is a convention. The job of a default branch is to be the line people treat as the shared source.

On bot.ski, main is the name of that shared branch. A commit on main is still not, by itself, a deploy of the public site.

Common confusion

Asking whether a change is on main asks about the shared source, not whether visitors already see it.

Sources

Updated September 30, 2026.

Cookie preferences