# list all the branches of upstream repository: git branch -a # checkout one of them: git checkout remote/branch/name # start committing on your local: git checkout branch-name