in Technology by (55.8k points)

Explain the concept of branching in Git.

1 Answer

0 votes
by (55.8k points)
Suppose you are working on an application, and you want to add a new feature to the app. You can create a new branch and build the new feature on that branch.

By default, you always work on the master branch

The circles on the branch represent various commits made on the branch

After you are done with all the changes, you can merge it with the master branch

Related questions

0 votes
asked Jan 8, 2021 in Technology by JackTerrance (1.9m points)
0 votes
asked Nov 25, 2021 in Education by JackTerrance (1.9m points)
...