Describe the bug
Lesson 02 - GitHub Basics does not include initializing main branch with command git branch -M main. Gives error on push command because there is no branch to to push to.
To Reproduce
Steps to reproduce the behavior:
- Go to GitHub Basics
- Follow steps up to number 11 with
git push -u origin main
- See error -
error: failed to push some refs to 'https://github.com/organization/example.git'
Expected behavior
Expected to push put to new repository without errors.
Screenshots

Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
Additional context
Add any other context about the problem here.
Describe the bug
Lesson 02 - GitHub Basics does not include initializing main branch with command
git branch -M main. Gives error on push command because there is no branch to to push to.To Reproduce
Steps to reproduce the behavior:
git push -u origin mainerror: failed to push some refs to 'https://github.com/organization/example.git'Expected behavior
Expected to push put to new repository without errors.
Screenshots

Desktop (please complete the following information):
Additional context
Add any other context about the problem here.