🌐
GitHub
github.com › login
Sign in to GitHub
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
🌐
GitHub
github.com › signup
Sign up for GitHub
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
🌐
GitHub
github.com › github-login
github-login - Overview
github-login has one repository available. Follow their code on GitHub.
🌐
GitHub
docs.github.com › en › account-and-profile › how-tos › account-management › creating-an-account-on-github
Creating an account on GitHub - GitHub Docs
When creating a free account on GitHub.com, you can also authenticate with Google or Apple - which are the supported social login providers.
🌐
GitHub
docs.github.com › en › authentication › keeping-your-account-and-data-secure › about-authentication-to-github
About authentication to GitHub - GitHub Docs
You can access your resources in GitHub in a variety of ways: in the browser, via GitHub Desktop or another desktop application, with the API, or via the command line. Each way of accessing GitHub supports different modes of authentication. Username and password (or social login) with two-factor authentication, or a passkey (GitHub Free, and GitHub Enterprise Cloud only)
🌐
GitHub
docs.github.com › en › authentication › authenticating-with-a-passkey › signing-in-with-a-passkey
Signing in with a passkey - GitHub Docs
If you have registered a passkey ... a passkey using a nearby device. Navigate to the login page for GitHub at https://github.com/login?passkey=true....
🌐
GitHub
github.com
GitHub · Change is constant. GitHub keeps you ahead. · GitHub
Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.
🌐
GitHub
github.com › join
Sign up for GitHub · GitHub
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
Find elsewhere
🌐
Cornell
it.coecis.cornell.edu › github › github-authentication
Github Authentication – TBE IT Support: Cornell Tech | Bowers | Duffield Engineering
After installing GitHub CLI, from a terminal on your operating system type: gh auth login --hostname github.coecis.cornell.edu. This will prompt you for your token, which you can paste into the terminal. This will work for both fine-grained and classic tokens.
🌐
YouTube
youtube.com › watch
How to login GitHub account (Step By Step 2026) - YouTube
How to login GitHub accountIn this video, I show you how to login to github account, how to fix github account login not working, login to github account, ho...
Published: April 28, 2026
🌐
Softfix blog
softfix.in › home › how to login to github easily: a simple guide for everyone
GitHub Login Made Easy | Google, SSO & Terminal Guide
February 25, 2026 - Don’t worry: It’s like a child’s play! In this blog, we’ll explain everything about GitHub login, including how to log in with Google, how to log in to GitHub from the terminal, and even how to use GitHub SSO login for organizations.
🌐
GitHub
github.com › password_reset
Forgot your password? · GitHub
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
🌐
Django
code.djangoproject.com › github › login
GitHub Login
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
🌐
GitHub
github.ghe.com
Sign in to GitHub · GitHub
Authenticate your account by logging into GitHub’s single sign-on provider.
🌐
GitHub
github.com › topics › login
login · GitHub Topics · GitHub
Open source Auth0/Clerk/Firebase alternative. Passkeys, SSO, MFA, passwordless, biometric login. Self-hosted or cloud.
🌐
YouTube
youtube.com › watch
How to Login Github Enterprise (Full 2025 Guide) - YouTube
How to Login Github Enterprise (Full 2025 Guide)In today's video we will show you how to use github,github,github tutorial,how to create github account,how t...
Published: January 27, 2025
🌐
MacPorts
ports.macports.org › accounts › github › login
Sign In Via GitHub
You are about to sign in using a third party account from GitHub.
Top answer
1 of 3
35

You don't login to Git.

You do login to a Git repository hosting server, which requests an authentication, but Git itself has no authentication nor authorization.

(As an example of a Git repository hosting service offering login:

  • GitHub: gh auth login
  • GitLab: glab auth login)

What Git does have is credential caching (check the output of git config credential helper)
On Mac: "Updating credentials from the OSX Keychain": you can check if your old user was stored there, and update it.

If you really want to disable the credential helper, you will be asked your credentials every time you push to a repository hosted on a server requesting authentication.


Regarding AgilePro's answer:

Again, there is no way to ask git to log in, instead you have to make a bogus change and then try to push the change to get it to prompt you to log in.

Not true.

Git itself does not log you in, as mentioned in my answer above.

A third-party CLI tool (like GitHub CLI gh) can connect to a repository hosting service (like github.com) and trigger the authentication.
No repository needed.

With GitHub: create first through the Web UI a Personal access tokens (classic), with minimum required scopes: repo, read:org, and gist.
Its token prefix will be ghp_....

Then authenticate yourself from the command-line, after installing gh, using gh auth login

gh auth login

You can enter your GitHub user account name, and your token.

Then, a gh auth status would give you:

C:\Users\vonc\git>gh auth status
github.com
  ✓ Logged in to github.com as VonC (C:\Users\vonc\AppData\Roaming\GitHub CLI\hosts.yml)
  ✓ Git operations for github.com configured to use https protocol.
  ✓ Token: ghp_************************************
  ✓ Token scopes: admin:org, gist, repo, user, workflow

You are authenticated (to GitHub, not to "Git").


You can also register your token with the local credential manager:

git config --global credential.helper manager
printf "protocol=https\nhost=github.com\nusername=<me>\npassword=<my_token>" |\
  git-credential-manager store

This is purely for safekeeping, and does not authenticate you.

2 of 3
24

I had a similar problem with Windows. Updating Credentials Manager helped in my case.

To open Credentials Manager search that setting or navigate to: Control Panel\All Control Panel Items\Credential Manager. In Windows Credentials -> Generic Credentials find your repo and update username/password or delete all that are not needed.