been thinking about this very common git workflow and how git doesn't do much to help you ensure that if you're using this workflow:
a) you never commit to your local `main` branch directly
b) you regularly pull from `origin/main` to keep your local `main` branch up to date
you just need to be careful
branch protection on github/gitlab helps with this, but I don't think there's much in git itself

