pull new branches git code example
Example 1: get all remote branches
git fetch --all
Example 2: get all branches from remote
You can fetch all branches from all remotes like this:
git fetch --all
git fetch --all
You can fetch all branches from all remotes like this:
git fetch --all