Suggestion for first time CLI users

Hi, I am new to the concept of Git and Github and had trouble navigating so I am writing here. Not sure if this is the right place to suggest edits in a course though.

So I finished Introduction to GitHub course using Web UI and now doing it on CLI. In the section “Commit a file”, I was stuck on the error

remote: Invalid username or password.
fatal: Authentication failed for ''

despite having right username and password. Turned out I have two-factor authentication enabled which is why I couldn’t access. To find a way around this error, I went to the Developer Settings in the Settings section, generated a token from the “Personal Access Tokens” section, and used it as password in the CLI. By using that personal access token, I could log in and push the changes.

It would be great if the course had something that helped first-time users overcome this issue. Please let me know where I can suggest these changes to the course.

1 Like

Thanks a lot for this feedback, you are in the correct place as the learning lab team monitors this forum.

Thanks for the suggestion, @aryansharma1323! I’ve opened an issue in the course repo. You’re welcomed to attempt introducing a pull request yourself, just follow the contributing guide.