- Checkout the master branch and update it. Only allow fast-forward-merge.
$ git checkout master
$ git pull -ff-only
- Create a new feature branch based on the current master branch.
$ git checkout -b feature_branch
- Back-up your local feature branch.
$ git push --set-upstream origin feature_branch
Later it is sufficient to write: