In my project I had only one branch, the master. I created another one, set this new one as the default branch and renamed the “master” branch using the following command:
git branch -m <oldname> <newname>
In GitHub desktop the names are fine but if I go to the repository on the GitHub website, the name still “master”. Does it take some time to update or something like that?
Here are two prints, the first one from the desktop app and the other from the website (I renamed the master branch to 3.0)