How to config Git first time in the machine

Ankit Kumar Rajpoot
1 min readDec 20, 2020

I think you know what is Git & GitHub. Git serves a big role in any developer’s life. There is the first step of usage of Git and GitHub.

There are some basic steps which are given below:-

  • Get a GitHub account.
  • Download and install git.
  • Set up git with your user name and email.

Open a terminal/shell and type:

$ git config --global user.name "Your name here"
$ git config --global user.email "your_email@example.com"

“Your name here” means which name you want to show in contributor.
“your_email@example.com” means which email is registered on GitHub.

Note:- (Don’t type the $; that just indicates that you’re doing this at the command line.)

  • This will enable colored output in the terminal
$ git config --global color.ui true

That’s it for this time! I hope you enjoyed this post. As always, I welcome questions, notes, comments and requests for posts on topics you’d like to read. See you next time! Happy Coding !!!!!

--

--

Ankit Kumar Rajpoot

I’m a MERN Developer. ( Redux | AWS | Python ) I enjoy taking on new things, building skills, and sharing what I’ve learned.