What does main branch mean?

In software engineering, main branch means the central branch of a repository that holds the official, up-to-date version of the code.

nounCore term

Software Engineering vocabulary · Version Control

Other branches are created from it and merged back into it.

In Turkish: ana dal, ana branch

How it is used

Usually named main; older projects use master. Teams protect the main branch so nobody can push to it directly. People say 'branch off main', 'merge into main' and 'main is broken' when the latest build fails.

Example sentences

  1. Nobody can push directly to the main branch; everything goes through a pull request.

  2. Create your branch from the latest main branch, not from my feature branch.

Common collocations

  • merge into the main branch
  • protected main branch
  • branch off main
  • keep main green

More terms: Version Control

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: