From the ZDNet article, GitHub to replace “master” with alternative term to avoid slavery references:
GitHub is working on replacing the term “master” on its service with a neutral term like “main” to avoid any unnecessary references to slavery,
About renaming your branch from master to main, there are a lot of guidelines. For example:
git branch -m master main \
git push -u origin main \
git remote set-head origin main