Added a basic createBranch function which creates a new branch (if the name is not already taken) and checks it out. Equivalent of 'git checkout -b newBranch'