Make it difficult (or impossible) to mess up the master branch

Presuming that “this” means “the Anvil IDE”, I’d start here: Anvil Docs | New Editor