how to sign into github from terminal 1

how to sign into github from terminal

$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com

or to see the signed in user

git config --list

Here is what the above code is Doing:
1. git init – initializes a new git repository
2. git add – adds a file to the staging area
3. git commit – commits the file to the repository

Similar Posts