Does Git work on Linux?
by Git project
- Latest version 2.56.0
- Developer tools
Yes. Git project publishes an official Linux version of Git. It’s in the Ubuntu, Debian, Fedora, Arch Linux and openSUSE Tumbleweed repositories.
Install Git
sudo apt install gitsudo apt install gitsudo dnf install gitsudo pacman -S gitsudo zypper install gitNot on Flathub.
How to install Git on Linux
Git project provides an official Linux version on its website.
sudo apt install gitInstalls Git 2.53.0 from Ubuntu 26.04 LTS’s own repositories, so normal system updates keep it current.
sudo apt install gitInstalls Git 2.47.3 from Debian 13’s own repositories, so normal system updates keep it current.
sudo dnf install gitInstalls Git 2.56.0 from Fedora 44’s own repositories, so normal system updates keep it current.
sudo pacman -S gitInstalls Git 2.56.0 from Arch Linux’s own repositories, so normal system updates keep it current.
sudo zypper install gitInstalls Git 2.56.0 from openSUSE Tumbleweed’s own repositories, so normal system updates keep it current.
Git is not on Flathub.
Which version of Git will you get?
| Distribution | Release | Version | Status |
|---|---|---|---|
| Ubuntu | 26.04 LTS | 2.53.0 | Older |
| Debian | 13 | 2.47.3 | Older |
| Fedora | 44 | 2.56.0 | Newest |
| Arch Linux | Rolling | 2.56.0 | Newest |
| openSUSE Tumbleweed | Rolling | 2.56.0 | Newest |
| Flathub (any distro) | — | Not packaged | — |
Versions from Repology and Flathub, checked Nov 2, 2026. “Newest” is the highest version in this table, not necessarily the developer’s latest release. AUR packages are user-maintained; review them before installing.
Which install method should you use for Git?
Every distro we track packages it, so install from your package manager. Flatpak is the alternative if you want the same package everywhere.
- Git project’s own download. Git project publishes the Linux version itself on its website.
- Your distro’s repositories. Ubuntu, Debian, Fedora, Arch Linux and openSUSE Tumbleweed carry it in their own repositories, so a normal system update keeps it current. Versions differ: Ubuntu has 2.53.0 and Debian has 2.47.3, while Fedora, Arch Linux and openSUSE Tumbleweed have 2.56.0.
Sources
Git on Linux: common questions
Does Git work on Linux?
Yes. Git project publishes an official Linux version of Git. It’s in the Ubuntu, Debian, Fedora, Arch Linux and openSUSE Tumbleweed repositories.
How do I install Git on Ubuntu?
Git is in Ubuntu 26.04 LTS’s repositories: run “sudo apt install git” in a terminal, or search for it in the App Center.
Which Linux distros package Git?
Ubuntu 26.04 LTS (2.53.0), Debian 13 (2.47.3), Fedora 44 (2.56.0), Arch Linux (2.56.0) and openSUSE Tumbleweed (2.56.0).