I am new to using GitHub Classroom and VS Codespaces for my classroom. Most of my students are able to open my assignments and commit changes with no problems. However, a few of my students receive the following error when they try to Sync or Commit their changes.
Any file edited directly on GitHub can be committed just fine. This problem only exists in Source Control on Codespaces.
[warning] [Git][config] git config failed: Failed to execute git
Additional error info On branch main Your branch and 'origin/main' have diverged, and have 2 and 2 different commits each, respectively.
Any suggestions on what the problem might be?
I even created a new assignment which opened a new Codespace, made a small change and tried to commit the changes only to receive the exact same error. Their repository remains unchanged because none of their changes are being committed.