⚠ Partial

git 2.25 + Ubuntu 20.04: Works but Missing Some Modern Features

git 2.25 + Ubuntu 20.04 LTS

Ubuntu 20.04 (Focal) ships git 2.25.1 by default. git 2.25 includes `git switch` and `git restore` (introduced in 2.23) but they were still marked experimental. `init.defaultBranch` was introduced in git 2.28 — not available in 2.25. Install the git-core PPA for a newer version: `sudo add-apt-repository ppa:git-core/ppa && sudo apt install git`.

Workarounds & Fixes

Related Error Pages

Related Combinations

git 2.43 + Ubuntu 24.04 LTS ✓ Works git 2.34 + Ubuntu 22.04 LTS ✓ Works git 2.17 + Ubuntu 18.04 LTS ⚠ Partial git (latest, via Homebrew) + macOS (any supported) ✓ Works
Last verified: 2024-06-01  ·  Category: git + OS / Features