Installing Git

Git - Quick Reference

1 min read

Published Jun 19 2025


7
0
0
0

CLIGit

Installing Git is a different process on different operating systems. Once installed from the selected method below, run the following.


Verify it has installed correctly:

git --version

After installing on any of the platforms, set your name and email address:

git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"


On macOS

Use homebrew and run:

brew install git


On Windows

  1. Go to https://git-scm.com/download/win.
  2. The download should start automatically.
  3. Run the .exe installer.
  4. Recommended setup options:
    1. Use Git from the command line and also from 3rd-party software.
    2. Use OpenSSH.
    3. Use "Checkout Windows-style, commit Unix-style line endings".
    4. Use the default Git Bash terminal.


Ubuntu/Debian based Linux

sudo apt update
sudo apt install git


Fedora Linux

sudo dnf install git


Arch Linux

sudo pacman -S git


Products from our shop

SimpleSteps.guide branded Travel Mug

SimpleSteps.guide branded Travel Mug

Developer Excuse Javascript - Travel Mug

Developer Excuse Javascript - Travel Mug

Developer Excuse Javascript Embroidered T-Shirt - Dark

Developer Excuse Javascript Embroidered T-Shirt - Dark

Developer Excuse Javascript Embroidered T-Shirt - Light

Developer Excuse Javascript Embroidered T-Shirt - Light

Developer Excuse Javascript Mug - White

Developer Excuse Javascript Mug - White

Developer Excuse Javascript Mug - Black

Developer Excuse Javascript Mug - Black

SimpleSteps.guide branded stainless steel water bottle

SimpleSteps.guide branded stainless steel water bottle

Developer Excuse Javascript Hoodie - Light

Developer Excuse Javascript Hoodie - Light

Developer Excuse Javascript Hoodie - Dark

Developer Excuse Javascript Hoodie - Dark

© 2025 SimpleSteps.guide
AboutFAQPoliciesContact