Xcode – 'git init -b <branch name>' command in terminal is throwing an 'unknown switch' error
I am trying to add an existing project to GitHub using the command line. I am in the relevant working directory in the terminal and am trying to use the git init -b main command. Initially, I was getting an…