Home

Published

- 1 min read

how to check in which brach we are in git

img of how to check in which brach we are in git

The solution for this is noted below

how to check in which brach we are in git

Solution

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

Try other methods by searching on the site. That is if this doesn’t work