Github has said the most popular one across all their repos is `main`, and that's what they'll be going with themselves.
(Source: https://github.com/github/renaming)
(Source: https://github.com/github/renaming)
edit: I fixed the script to use branch [0] instead of branch master (using GitPython).