Let's say that the central repo has
git checkout -b my_name/branch_B
git fetch your local repo should have fetched all the branches from the central repo, which usually is called
This will have created a local remote-tracking branch called
$ git fetch * [new branch] branch_B -> origin/branch_B
This remote-tracking branch
origin/branch_B tracks in your repo what are the latest changes fetched from central repo.
You're not supposed to commit to it, so you need to create an actual branch to work on.
git checkout branch_B
git checkout branch_B should create a local
branch_B that automatically tracks
$ git checkout branch_B Branch branch_B set up to track remote branch branch_B from origin. Switched to a new branch 'branch_B'
If you want to list both your local and your remote branches, you can use
git branch -va.