Git checkout main - How to change the default branch of your project

Changing the default branch of your project on Github is simpler than it seems. You will need to run a couple command on the terminal, but if you are using Gitlab, you can even use only the web UI. Let’s start with Github.

Continue