Using the web browser, create a new public repo called Exercises
At quick setup I can see the URL.
On your local PC, create a new folder called Exercises and copy some of your Python directories to it.
Open a terminal at this path.
Use git status to see if this is already a repo.
I ran the following commands in sequence to push these files to the GitHub repo. Use the URL to your own Exercises repo.
When I check back on GitHub, I can see that I have pushed my files and directories.
Normally I would have to login with a username and password, but I had already done so.
Note the command git add * and identify what is does. Any directory which was empty did not copy up!
Below find a simple Linux shell script I wrote to add all the files in the local directory, commit and push them to the remote origin. The script assumes I have already set up the Git repo.
Firstly, understood what I did (for example, what do you suppose git add . means?). Rewrite this script for windows as a batch file.