| CARVIEW |
Select Language
HTTP/2 200
date: Mon, 29 Dec 2025 20:58:08 GMT
content-type: text/html; charset=utf-8
content-length: 2763
server: cloudflare
x-origin-cache: HIT
last-modified: Sun, 28 Dec 2025 04:49:44 GMT
access-control-allow-origin: *
etag: W/"6950b6e8-1c10"
expires: Mon, 29 Dec 2025 18:19:33 GMT
cache-control: max-age=14400
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: C798:3827E5:8E2365:9F8C74:69527E18
accept-ranges: bytes
age: 10114
via: 1.1 varnish
x-served-by: cache-bom-vanm7210077-BOM
x-cache: HIT
x-cache-hits: 0
x-timer: S1767016739.124072,VS0,VE202
vary: Accept-Encoding
x-fastly-request-id: c283c9a3add6ae391fb02ac1a588f4d844613e13
cf-cache-status: HIT
cf-ray: 9b5c36bc0f0a343c-BLR
Git - Install for Linux
Install
Latest version: 2.52.0
(Release Notes)
It is easiest to install Git on Linux with your distribution's package manager.
Debian/Ubuntu
For the latest stable version for your release of Debian/Ubuntu
# apt-get install git
For Ubuntu, this PPA provides the latest stable upstream Git version
# add-apt-repository ppa:git-core/ppa# apt update; apt install git
Fedora
# yum install git (up to Fedora 21)# dnf install git (Fedora 22 and later)
Gentoo
# emerge --ask --verbose dev-vcs/git
Arch Linux
# pacman -S git
openSUSE
# zypper install git
Mageia
# urpmi git
Nix/NixOS
# nix-env -i git
FreeBSD
# pkg install git
Solaris 9/10/11 (OpenCSW)
# pkgutil -i git
Solaris 11 Express, OpenIndiana
# pkg install developer/versioning/git
OpenBSD
# pkg_add git
Alpine
$ apk add git
Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.
RHEL and derivatives typically ship older versions of git. You can download a tarball and build from source, or use a 3rd-party repository such as the IUS Community Project to obtain a more recent version of git.
Slitaz
$ tazpkg get-install git