I'm really new to GitHub.
I made my first project and want to add it to GitHub. But when I try to add my project to GitHub I'm getting the following error and I couldn't find a way to fix it.
git branch -M main
error: refname refs/heads/new_branch not found
fatal: Branch rename failed
Any help will be appreciated.