How to list all local and remote branches using git

 To check all remote branches of repo

git branch -r


To list all local branches of repo

git branch -a


To get all remote branches updated to local

git pull --all

Comments