list remote git branches in command line code example Example: git list remote branches git branch -r