⚠ 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.17 + Ubuntu 18.04 LTS ⚠ Partial git (Xcode CLT bundled) + macOS (any) ⚠ Partial git 2.43+ + Debian 12 (Bookworm) ⚠ Partial git + Git LFS + Any OS ⚠ Partial
Last verified: 2024-06-01  ·  Category: git + OS / Features