git checkout master
git pull
git checkout test
git merge master
git push
# ...develop some code...
$ git add –A
$ git commit –m "Some commit message"
$ git checkout master
Switched to branch 'master'
$ git merge new-branch
git checkout feature1
git merge master