Ensure git status before continuing.
npx git-ensure --branch main --no-head --no-behind --clean && <your-commands>
or
npx git-ensure -a && <your-commands>
If any of the conditions fail, a process.exit(1)
will be returned and prevent you from continuing the following workflows.
MIT