[srccommit] Detect 'main' as being a default branch like 'master'
Since Git and GitLab now default to using 'main' rather than 'master' as the default branch for new repositories, treat both names in the same way when deciding whether to increment the major version number.