You're here because you'd like to know how to set up git authentication (on the command line).
What does this mean? It means you probably just got an error like this:
$ git push -u origin main Username for 'https://github.com': arteen1000 Password for 'https://arteen1000@github.com': remote: Support for password authentication was removed on August 13, 2021. ... fatal: Authentication failed for ...
Here are the steps to fix this (and never have to type your password or username again):
Host github.com AddKeysToAgent yes IdentityFile ~/.ssh/id_ed25519You can replace ~/.ssh/id_ed25519 as necessary with the corresponding private key.