Software Engineers deal with Git Branches pretty much every day. Git branches are an integral part of our everyday workflow. To keep it as a reference, we will talk about some every day required git commands for branching including how to create a branch, checkout branch and finally, how git merge can integrate the history of independent branches.
[ Color coded serial numbers represent Git Flow ]
1. List all of the branches in a repository.
$ git branch
2. Create a new branch called "MyBranch".
Read more »