Did this directly via source control ???
STEPS :-
1st Create new reposiotry on Github Then Open VSCode via source control near changes check for Remote and Add-Remote paste your Reposiotry URL then add origin click your files to stageing area for tracking. next, add text to Commit section. finally, Commit & Push together.