Causation:
Your origin remote is set up to fetch only certain branches
git remote set-branches --add origin bb git remote set-branches origin '*'
It is because that your repo contains config that asks fetch command to retrieve only some specific branch(es) instead of just all of them. You can check the configuration you have using
git config --local --get-all remote.origin.fetch
git remote -v update origin
git rev-parse --symbolic-full-name origin/bb