git clone git@github.com:rtanglao/kitsune.git
git remote add upstream git@github.com:Sancus/kitsune.git
git checkout staging in git 1.7 or git checkout -t origin/staging depending on git version in git 1.6 you need to use git checkout -t origin/staging !
git fetch upstream
git merge upstream/staging
git checkout -b tb-sidebar #create and make new branch e.g. tb-sidebar branch
git add blah blah
git commit -m "blah"
git push origin tb-sidebar (pushes current branch to new remote tb-sidebar)
...create and send off pull request
git checkout staging
git branch -D tb-sidebar
git push origin :tb-sidebar
and then refetch and re-merge:
git fetch upstream
git merge upstream/staging
goto "create branch"