Install Git On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Install Git On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

git

Distributed version control system.
Homepage: .

Maintainer: Gerrit Pape



Section: vcs

Install git

  • Debian apt-get install git Click to copy
  • Ubuntu apt-get install git Click to copy
  • Alpine OS apk add git Click to copy
  • Arch Linux pacman -S git Click to copy
  • Kali Linux apt-get install git Click to copy
  • CentOS yum install git Click to copy
  • Fedora dnf install git Click to copy
  • Raspbian apt-get install git Click to copy
  • macOS brew install git Click to copy

Distributed version control system. Homepage: .

How to use git?

Below are few example commands for git that you can use in the terminal.

Check the Git version:
git --versionClick to copy
Call general help:
git --helpClick to copy
Call help on a command:
git help commandClick to copy
Execute Git command:
git commandClick to copy
To install the latest version of git in your favorite operating system just copy the git installation command from above and paste it into terminal. It will download and install the latest version of git 2026 package in your OS.