how to check which remote branch is most recent code example Example: git list remote branches git branch -r