git checkout -b topic
If the branch is already in progress and already exists on the remote repo, check it out as a tracking branch
git checkout --track -b topic origin/topic
git push origin topic
git rebase master -i
git checkout master git pull
git merge topic
git branch -d topic
git push origin :topic