Which branch is protected by default?
Summary
The docs say:
"Note that the master branch is protected by default."
This does not appear to be accurate. The default branch is in fact protected, where "default" means "whichever branch you push to first."
Possible fixes
Since folks might be relying on this behavior (indeed, I think I'm about to write some code that does so), it's probably better to change the docs than the code.
Edited by David Turner (TS)