git remote branching

# push to remote branch
git push <remote-name> <branch-name>
# or the full format
git push <remote-name> <local-branch-name>:<remote-branch-name>

# pull from remote branch
git checkout -b <local-branch-name> <remote-name>/<remote-branch-name>

Leave a Reply