How to check localbranch or remote branch inn git code example Example: git get remote branches git branch -r