This article is the third installment in the “Using Git” series. It assumes that you have read both the installation article and the article on how to use git effectively.
In the world of version control systems, GIT is arguably one of the best in terms of flexbility. It’s very easy to learn the syntax and to figure out how git can best serve your workflow and your environment.
This tutorial will teach you how to create two branches (master and develop) and how to merge code from the development stage to production.
A branch, at its core, is a unique series of code changes with a unique name. Each repository can have one or more branches.
By default, the first branch is called “master”.
Viewing branches
Prior to creating new branches, we want to see all the branches that exist. We can view all existing branches by typing the following: Continue reading How To Use Git Branches