Thanks for the help, but nothing seems to work! There is a commit option in the VSCode, but it fails, complaining about user.name and user.email not being set up. However, they seem to be set up in GitHub, and I can certainly commit from local repositories on my Mac. The log gives me:
git ls-files --stage -- /app/app.py [34ms]
2023-11-21 10:18:13.695 [info] > git ls-tree -l HEAD -- /app/app.py [77ms]
2023-11-21 10:18:13.695 [info] fatal: Not a valid object name HEAD
2023-11-21 10:18:13.700 [info] > git cat-file -s cb792ec32de6fe744a358f48e8f91fd3ce32d339 [6ms]
2023-11-21 10:18:13.702 [info] > git config --get commit.template [26ms]
2023-11-21 10:18:13.718 [info] No remotes found in the git config file.
2023-11-21 10:18:13.723 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/master refs/remotes/master [6ms]
2023-11-21 10:18:13.742 [info] > git status -z -uall [6ms]
But that means nothing to me. GitHub does seem to create a sort of project, with nothing in it, but telling me to create a new repository or push an existing repository. However, even the instructions they give don't seem to work for me, as they require me to use my GitHub user id and password, and then tell me that passwords are not supported!