Team FAQ: this question comes up often, so we've answered it below. Add your own experience, or a different view, in the comments.
You run git push, type your GitHub password, and get "Support for password authentication was removed" or "Authentication failed". What is the right way to log in?
GitHub stopped accepting account passwords for Git operations in August 2021. You need one of these instead:
Option 1: GitHub CLI (easiest)
Install the GitHub CLI, then run:
Choose GitHub.com, then HTTPS, and let it log in through your browser. It also sets up Git to use those credentials, so
git pushjust works.Option 2: SSH keys (best if you use several machines or servers)
ssh-keygen -t ed25519 -C "[email protected]" cat ~/.ssh/id_ed25519.pubCopy the output into GitHub under Settings > SSH and GPG keys > New SSH key, then test it:
Use SSH remote URLs (
[email protected]:user/repo.git). To switch an existing repo:git remote set-url origin [email protected]:user/repo.git.Option 3: a personal access token
Create one under Settings > Developer settings > Personal access tokens. Prefer a fine-grained token limited to the repos you need, with an expiry date. Paste it where Git asks for a password. Use a credential manager (Git Credential Manager on Windows and macOS) so you don't have to paste it every time.
Also turn on two-factor authentication. GitHub requires 2FA for accounts that contribute code, and it protects your account if your password leaks.
Which method do you use, and why? Share below.
Hello,
I’m reaching out on behalf of Prosite Group Holding WLL to explore potential investment and financing opportunities with your company, including startups, business expansion, acquisitions, and strategic growth initiatives.
If your company requires funding to launch, expand, acquire, or scale its operations, kindly share your pitch deck, executive summary, or business plan outlining your business model, funding requirements, and growth objectives for our initial review.
We would be pleased to assess your proposal and discuss potential financing or strategic partnership opportunities.
Thank you, and I look forward to hearing from you.
Best regards, Obed Omrah Prosite Group Holding WLL Email: [email protected]