Want to create a new branch in your project? Simple, just do this:
git checkout -b new_branch
By doing this, you'll automatically be shifted to a new branch of your project. To check which branch you're working on, type this:
git branch
And you should be able to see your current branch marked with a *
:
master
* new_branch