git pull upstream branch list code example
Example 1: get all branches from remote
You can fetch all branches from all remotes like this:
git fetch --all
Example 2: get all the branch in git
git fetch --all
You can fetch all branches from all remotes like this:
git fetch --all
git fetch --all