Git push origin master error

Hi guys, I’m getting an error when I use the command ‘git push origin master’ and I’m not sure how to fix this?

This project doesn’t have a master, only a main.
Do this command instead: git push origin main.

1 Like

Thank you, never would have figured that out. Is anything else needed to be done? I did my commit for my index file so far and I am now moving into CSS.