title: How to know if a branch is master branch or not?
body: <p>I have a script which will fetch me all the branch of the repo and it will also do other stuff. I want to know this "Is there any git command which will tell a branch is master or not?"</p>