git branch -a # it will show an astrick * like *master git branch --show-current # source == git remote --help