dev: support switching our default branch to main
Created by: keegancsmith
This mostly updates our dev CI/helpers which hardcoded master to instead hardcode main. In the case of CI we treat both main and master as the default branch.
Part of https://github.com/sourcegraph/sourcegraph/issues/11464