One idea
GitHub is not where Git starts. Your local repo already has the commits. GitHub is the remote copy you push to so others can see it.
For this lesson, your goal is simple: connect local to remote, push, and verify the public repo looks right.
Before you push
Finish one clean commit locally before you create the GitHub repo. Do not push a half-added project just because the commands are ready.
Run status first. If you see files you did not mean to share, stop and fix it before GitHub gets a copy.