I'm using a different computer and I'm trying to clone one of my repos, but when I clone a repo, github prompts me to enter my credentials and I fail to authenticate:
Username for 'https://github.com':
Password for 'https://myusername@github.com:
remote: Invalid username or password.
fatal: Authentication failed for "my github repo url link"
I don't have a github.com email for my account, so I am confused what credentials it is looking for. I have already setup my git config like this:
git config user.name = "my username"
git config user.email = "my gmail"
git config user.password = "my password"
edit
From the points mentioned below, I must now use my personal access token as my password, what is the best way to cache my personal access token so I don't have to keep entering it when I clone,push,etc ?