Branching

Branching is a feature of version control that allows developers to test new features within a software or application code before officially joining it with the active source code. A new branch within the code is basically a copied version of the first section of code, but it then receives its own name and can be edited separately. Branching may also be referred to as a stream or tree.

One of the most famous version control platforms that offers branching is Git, developed in 2005 by Linux creator Linus Torvalds.

Version control allows developers to move between different branches in the same section of the program so that they can experiment with features for a new version. However, these changes don’t have to be implemented with the rest of the code right away; they have time for testing. Once branches are ready to be joined, developers will merge them together. Although branching is very helpful for testing sections of code independent of the rest of the program, many developers recommend merging branches regularly so that the code doesn’t have trouble fitting together.

Branching is a crucial part of version control platforms; it permits developers to work on different sections of code simultaneously. Especially in large applications, being able to make concurrent edits without ruining someone else’s work is essential. Branching is just one way for developers to make software more reliable.

Branching differs from forking, in which developers create a new area of the code that’s intended to be independent, never to merge with the existing code.

Jenna Phipps
Jenna Phipps
Jenna Phipps is a writer for Webopedia.com, Enterprise Storage Forum, and CIO Insight. She covers data storage systems and data management, information technology security, and enterprise software solutions.
Get the Free Newsletter
Subscribe to Daily Tech Insider for top news, trends & analysis
This email address is invalid.
Get the Free Newsletter
Subscribe to Daily Tech Insider for top news, trends & analysis
This email address is invalid.

Related Articles

Virtual Private Network (VPN)

A virtual private network (VPN) encrypts a device's Internet access through a secure server. It is most frequently used for remote employees accessing a...

Gantt Chart

A Gantt chart is a type of bar chart that illustrates a project schedule and shows the dependency between tasks and the current schedule...

Input Sanitization

Input sanitization is a cybersecurity measure of checking, cleaning, and filtering data inputs from users, APIs, and web services of any unwanted characters and...

IT Asset Management Software

IT asset management software (ITAM software) is an application for organizing, recording, and tracking all of an organization s hardware and software assets throughout...

ScalaHosting

ScalaHosting is a leading managed hosting provider that offers secure, scalable, and affordable...

HRIS

Human resources information system (HRIS) solutions help businesses manage multiple facets of their...

Best Managed Service Providers...

In today's business world, managed services are more critical than ever. They can...