Creating a development branch

To implement the Driessen Model, we must first create the dev branch from the master branch. To check which branch we are currently on, we can run git branch --list or simply git branch:

$ git branch
* master

This returns a list of all branches, with an asterisk (*) next to the currently active branch, which is currently master. To create a new dev branch from the current branch, we can run git branch dev.

However, we are instead going to run git checkout -b dev master, which creates a new branch and makes it active at the same time:

$ git checkout -b dev master
Switched to a new branch 'dev'
$ git branch
* dev
master