Configure Git for the first time

Git for beginners

When you start using Git in a new computer you need to setup some basic steps to configure Git for the first time, and to be ready to work in a git console.

Install Git

The install process could be different for each OS:

  • MacOS:
  • Linux
    • Debian/Ubuntu (sudo apt-get install git)
    • CentOS  (sudo yum install git)
    • Fedora (sudo yum install git-core)
  • Windows

Configure Git for the first time

  • Global variables
    • Set the git global user name (git config --global "myname")
    • Set the git global email (git config --global "")


Leave a Reply