Welcome to the Git installation guide! Below are the steps to install Git on your system.

System Requirements

Before installing Git, make sure your system meets the following requirements:

  • Operating System: Windows, macOS, or Linux
  • Internet Connection

Installation Steps

Windows

  1. Download the latest version of Git from the official website: Git for Windows.
  2. Run the installer and follow the instructions.
  3. Check the "Git from the command line and also from 3rd-party software" option.
  4. Complete the installation.

macOS

  1. Open the Terminal application.
  2. Run the following command to install Git via Homebrew:
brew install git
  1. Confirm the installation and wait for it to complete.

Linux

  1. If you are using Ubuntu or Debian-based distributions, run the following command:
sudo apt-get install git
  1. For Fedora or CentOS-based distributions, run:
sudo dnf install git
  1. For Arch Linux, run:
sudo pacman -S git

Verifying Installation

To verify that Git is installed correctly, open your terminal and run:

git --version

If Git is installed, you will see the version information.

Next Steps

Now that you have Git installed, you might want to check out our Git basics guide to get started with using Git.


Git Logo