Don’t worry, you can easily create a new Git branch without losing your local changes. Just use Git’s switch or checkout commands, and your new branch will be created with all of your current changes ...
GitHub to replace master with main starting in October: What developers need to do now Your email has been sent From the office of “long overdue,” another service is dropping the divisive “master” ...
Since its inception, the Git DVCS tool's default branch name was set to master. Every Git repository had a master branch unless a developer took explicit steps to remove it, which was rarely ever done ...