Git is a version control system used for tracking changes in computer files. It is generally used for source code management in software development.
The Git workflow is divided into three parts :
Branch in Git is used to keep your changes until they are ready. You
can do your work on a branch while the main
branch remains stable. After you are done with you work, you can merge
it with th main office.
The above diagram shows there is a master branch. There are two
seperate branches called
"small feature" and "large feature". Once you are finished working
with the two seperate branches, you can
merge them and create a master branch.