Pushing and Pulling Branches on Github

Original article

What worked for me (tamanegi/open-uri branch):

# create local branch
$ git checkout -b open-uri

# pushing branch
$ git push origin open-uri

# pulling remote branch
$ git branch -d open-uri
$ git branch -f open-uri origin/open-uri
$ git checkout open-uri
$ git pull

# merge and delete
$ git checkout master
$ git merge open-uri
$ git push origin :open-uri