Git: How to push and reset github token

Posted on: 31 Aug 2024

I can’t believe that every 3 months, I forget how to do this.

Here’s how to make the git push command work for pushing an existing folder/repository from the command line:

Step-by-step process:

git add .
git commit -m "Initial Commit"
git remote -v
git push origin master

How to reset token