create branch and checkout at the same time in git
git checkout -b <new_branch_name> <branch_from>
#<new_branch_name> --> name of the new branch being created.
#<branch_from> --> name of the branch to branch from.
#NB: no need to provide <branch_from> if that is the active branch.