Configure Git for the first time

Francisco Igor
1 min readOct 15, 2018

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:
  • Install via HomeBrew (brew install git)
  • Install via MacPorts (sudo port install git)
  • Go to https://git-scm.com/download/mac and install the package manually
  • Linux
  • Debian/Ubuntu (sudo apt-get install git)
  • CentOS (sudo yum install git)
  • Fedora (sudo yum install git-core)
  • Windows
  • Go to https://git-scm.com/download/win and install the package manually.

Configure Git for the first time

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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Francisco Igor
Francisco Igor

Written by Francisco Igor

Programming from the past century. Worked with many programming languages and software development tools for desktop, web and mobile. https://fraigo.github.io/

No responses yet

Write a response