Cleanup reference to master branch
Followup to #15310
Note This should only be merged after the branch was renamed.
Cleanup references to master branch and replace them with main.
This also updates the sync-typeshed script to use the correct base when creating a new PR.
Fixes #13985
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
Diff from mypy_primer, showing the effect of this PR on open source code:
discord.py (https://github.com/Rapptz/discord.py): typechecking got 1.07x slower (177.1s -> 190.0s)
(Performance measurements are based on a single noisy sample)