I'm trying to figure out how to verify that the user is on the correct branch before running some commands in my BAT file.

What's the best way to perform this kind of check...

```
IF (on "master" git branch) THEN
   ...
ELSE
   ...

```