DEVELOPER TOOLS · LINUX COMPATIBILITY

Does Git work on Linux?

by Git project

Quick answerRuns natively

Yes. Git project publishes an official Linux version of Git. It’s in the Ubuntu, Debian, Fedora, Arch Linux and openSUSE Tumbleweed repositories.

By Git projectData checked Nov 2, 2026Check it with your other apps

Install Git

sudo apt install git
sudo apt install git
sudo dnf install git
sudo pacman -S git
sudo zypper install git

Not on Flathub.

How to install Git on Linux

Git project provides an official Linux version on its website.

sudo apt install git

Installs Git 2.53.0 from Ubuntu 26.04 LTS’s own repositories, so normal system updates keep it current.

sudo apt install git

Installs Git 2.47.3 from Debian 13’s own repositories, so normal system updates keep it current.

sudo dnf install git

Installs Git 2.56.0 from Fedora 44’s own repositories, so normal system updates keep it current.

sudo pacman -S git

Installs Git 2.56.0 from Arch Linux’s own repositories, so normal system updates keep it current.

sudo zypper install git

Installs 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?

DistributionReleaseVersionStatus
Ubuntu26.04 LTS2.53.0Older
Debian132.47.3Older
Fedora442.56.0Newest
Arch LinuxRolling2.56.0Newest
openSUSE TumbleweedRolling2.56.0Newest
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).