Alerts you when you are working on a branch you have designated "protected" such as master. Can help to remember not to commit to the wrong branch.
This extension contributes the following settings:
By default, no warnings will be given. If you wish to warn when working on the branch "master", add to your workspace or user settings:
The VSCode git plugin handles workspaces in subfolders of git repositories. This extension does not, and will only activate if the workspace is the root of a git repo.