How to check Git email address and username in terminal?

featured Image

In this post, we will see how to check GitHub email address and username from the terminal.

If you are signed in to your GitHub account on your computer but forgot your user account email address and username then follow the methods below to find your credentials easily.

To check the username and email of your Github account in your terminal we can use the git config [user.name | user.email] command.

This method will work in both Mac and Windows.

Check the GitHub username from the terminal

To find you’re signed in username from the terminal follow the steps:

Step 1 : Open your terminal or CMD in Windows.

Step 2 : Type the following git command:

git config user.name

This will show you the signed-in username on your computer.

Check the GitHub email from the terminal

Step 1 : Open your terminal in Windows or Mac.

Step 2 : Type the git command:

git config user.email

This will display the signed-in email.


Related Topics:

How to save username, email and password globally in Github?

How to change git username and password on PC

Open Github Repository Directly In Vscode In Browser Online

How to remove node_modules from github or bitbucket

Related Posts

git commands with example

Top 40 Git commands with Examples

GitHub has become an essential tool for developers to manage, store, and collaborate with other developers on software projects. With its simple powerful git-based version control system, GitHub allows users…

Read more
Check GitHub Account in the Terminal

Check GitHub Account in the Terminal

GitHub is an integral tool for developers to store, manage, and collaborate on software projects with other developers. And as we work more and more in the command line it…

Read more
featured Image

How to make list of objects in Netlify CMS using list and object Widget

Here in this Netlify CMS tutorial we will how easily we can make a list of objects using list and object widgets. This will allow us to add multiple objects…

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *