# workflow, step by step:
git checkout srcBranch # where new branch will be created from
git branch newBranch # newBranch is created from srcBranch
git checkout newBranch # switch from srcBranch to newBranch
# in a single line:
git checkout -b newBranch srcBranch
git checkout -b newBranch # srcBranch is optional if already checked out
$ git checkout -b myFeature dev
$ git checkout dev
$ git merge --no-ff myFeature
git checkout -b subbranch_of_branch1 branch1
$ git commit -am "Your message"
$ git push origin dev
$ git push origin myFeature
// newbranch what you want to create newly on top of oldbranch/existing branch
git checkout -b newbranch oldbranch
git checkout sprint
git pull
git checkout -b rapportages sprint
git push origin rapportages
git push --set-upstream origin rapportages