The branches do exist but you can’t see them
Try using this:
git branch -a
You’ll now see the list of remote branches in origin
e.g.
Output:
remotes/origin/tk_removes_call_centers
remotes/origin/tk_warm_transfer_fix
remotes/origin/update_README
and you can then
git checkout [any_individual_branch_name]
You can also get the same list with git branch -v --all
which includes the most recent commit info, i.e.
git branch -v --all
output:
remotes/origin/tk_removes_call_centers 1478b14 re-adding call feedback workers
remotes/origin/tk_warm_transfer_fix 94720c5 handling blank auto policy
remotes/origin/update_README a769b82 Update README
git branch -v
(without --all
) only shows branches you’ve worked on.
When you use --all
you see all the tracking branches in origin/
Related:
- How to clone all remote branches in Git?
- How do you create a remote Git branch?
- Git fetch remote branch
- How do I check out a remote Git branch?