how to check remote branch in git command code example Example: git get remote branches git branch -r