Skip to content

Branch

A named development line that Git tracks through a movable reference to a commit.

Software Development

Prepare changes on a separate line

A branch is a development line. Git represents it as a named, movable reference to a commit. New commits on that line move the reference forward. Other branches need not change as a result.

In a fictional example, a date display is adjusted on fix/report-date and recorded there as a commit. The main line initially stays at its previous state. After review, the change can be integrated into the intended target line. The project workflow determines whether a pull request is required. A branch is neither a separate test server nor automatically an access barrier. Test environments, access rules and approval processes need appropriate separate arrangements.

Sources

Articles on this topic

Software Development with ASES

Custom software, web and mobile apps