git command to list branches or tags in remote repository code example Example: git list remote branches git branch -r