get the list of remote branch from repository code example Example: git list remote branches git branch -r