MrTechKing

5 min read

delta: Readable, Colourful Git Diffs in Your Terminal (GitHub, Scanned)

A free pager for git that shows diffs with syntax highlighting, changed words marked, line numbers and a side-by-side view.

delta logo
✅
Scan: safe. Nothing to warn about. The one pattern hit is a test container for developers, and delta makes no network connections of its own. Scanned Nov 28, 2026; the full report is below.

delta is a free program that makes git's output easier to read. Install it, add a few lines to your ~/.gitconfig, and git diff, git show, git log -p and git blame come out with syntax highlighting for the code, the exact changed words marked inside each line, line numbers and, if you like, a side-by-side view. Press n and N to jump from file to file.

It earns its place because anyone who writes code reads diffs all day, and delta makes the actual change obvious without leaving the terminal or changing how you use git. It uses the same colour themes as bat, also formats grep and ripgrep results, and can lay out merge conflicts more clearly. Newer versions add delta tui, an interactive view based on gitu where you can stage lines, commit, push and rebase from the coloured diff.

delta is MIT-licensed and written in Rust by Dan Davison, who started it in 2019 and still maintains it. It has about 32,900 stars and around 160 contributors. Version 0.23.0 came out on 28 November 2026.

  • Repository: github.com/dandavison/delta
  • Licence: MIT (MIT License)
  • Language: Rust. Stars: 32.9K. Forks: 781. Last push: Nov 28, 2026.
  • Scan: safe, Nov 28, 2026, commit f847f24

Who it is for

Developers who use git in a terminal, code reviewers who read a lot of diffs, and people who like their tools colourful. It runs on macOS, Linux and Windows; most package managers call it git-delta, but the command is delta.

Getting started

1. Install on macOS or Linux with Homebrew

brew install git-delta

2. Or on Windows, with winget

winget install dandavison.delta

3. Or on Ubuntu and Debian, install the .deb file from the releases page

sudo dpkg -i git-delta_0.23.0_amd64.deb

4. Make git use delta, with n and N to jump between files

git config --global core.pager delta
git config --global interactive.diffFilter 'delta --color-only'
git config --global delta.navigate true

5. Optional: turn on the side-by-side view

git config --global delta.side-by-side true

6. Look at your changes

git diff

Package managers install the delta program and change nothing else; the git config commands add a few lines to ~/.gitconfig, which you can remove to go back to plain git. delta only reads git's output and prints it, except delta tui, which stages, commits and pushes when you press its keys. The TUI's code comes from delta-gitu, a separate package by the same author. Our scan covers this repo's source code, not the prebuilt binaries or that package.

Safety scan

We cloned dandavison/delta at commit f847f24 on Nov 28, 2026 and ran the checks described on the GitHub Tools page: credential patterns, decode-and-execute code, install-time scripts, committed binaries, risky CI workflows, every host the code talks to, known vulnerabilities in pinned dependencies, and project hygiene. A person read every hit. This is what we found.

  • 0 secret hits and no committed binaries across 271 files and about 113,000 lines: Rust for the program, plus JSON benchmark results and HTML demo files in etc/.
  • 1 pattern hit: etc/docker/ubuntu.Dockerfile line 6 installs Rust with rustup's official curl to sh command, inside a container developers use to build and test delta. It is not part of delta or its install.
  • No install script. Releases are prebuilt binaries for macOS, Linux and Windows plus Debian packages, built by the release workflow; since 0.23.0 it is also published to PyPI with trusted publishing, so no upload token is stored. Homebrew, winget and most Linux distributions package it too.
  • 17 advisories across 382 Rust packages, none critical. The 2 high ones are in quick-xml, which delta reaches through plist, the reader for theme and syntax files in TextMate's XML format; a crafted file you add yourself could make it slow or use a lot of memory. 2 moderate and 1 low are crash and soundness bugs in serde_with, time and rand, and the other 12 are unrated notices of unmaintained libraries and soundness bugs in git2, url and others.
  • delta contacts no server; the hosts in the code are documentation links, and api.elevenlabs.io appears only in a script that records the project's demo videos. 7 workflows, with no pull_request_target; none of the 24 third-party actions is pinned to a commit. Dependabot is on; no security policy or CodeQL. OpenSSF Scorecard gives it 4.3 out of 10.

What the scanner counted

CheckResult
SecretsNone found.
Suspicious code1 pattern hit found and read; every one is listed under the raw findings.
Install-time codeNone: nothing runs at install beyond the package manager itself.
Committed binariesNone.
CI workflows7 workflows. None use pull_request_target. 24 of 24 third-party actions pinned to a tag rather than a commit.
Network hosts22 distinct hosts referenced from source; most often github.com, git-scm.com, gitlab.com, docs.rs. No URLs to bare IP addresses.
Known vulnerabilities17 advisories across 382 pinned packages: 0 critical, 2 high, 2 moderate, 1 low, 12 unrated. Cargo.lock: 382 packages, 17 advisories.
Project hygieneHas automated dependency updates, licence file, contributing guide. Missing security policy, CodeQL.
OpenSSF Scorecard4.3 out of 10, as of Nov 23, 2026.

The raw findings

Every hit the scanner wrote out, with a link to the exact line at the scanned commit. Secrets candidates are redacted.

Pattern hits (1)
WhereRuleMatch
etc/docker/ubuntu.Dockerfile:6download-piped-to-shellRUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
Worst known vulnerabilities (17 of 17)
AdvisorySeverityPackageSummary
RUSTSEC-2026-0194highquick-xml@0.32.0Quadratic run time when checking a start tag for duplicate attribute names
RUSTSEC-2026-0195highquick-xml@0.32.0Unbounded namespace-declaration allocation in `NsReader` enables memory-exhaustion denial of service
GHSA-7gcf-g7xr-8hxjmoderateserde_with@3.17.0serde_with: KeyValueMap serialization panics on empty sequence or map entries
GHSA-r6v5-fh4h-64xcmoderatetime@0.3.36time vulnerable to stack exhaustion Denial of Service attack
GHSA-cq8v-f236-94qclowrand@0.8.5Rand is unsound with a custom logger using rand::rng()
RUSTSEC-2021-0139unknownansi_term@0.12.1ansi_term is Unmaintained
RUSTSEC-2026-0190unknownanyhow@1.0.102Unsoundness in `Error::downcast_mut()`
RUSTSEC-2025-0141unknownbincode@1.3.3Bincode is unmaintained
RUSTSEC-2026-0543unknownchrono@0.4.45chrono is unmaintained
RUSTSEC-2026-0183unknowngit2@0.20.4Potential undefined behavior when calling Remote::list()
RUSTSEC-2026-0184unknowngit2@0.20.4Potential undefined behavior with Signature from a buffer-created BlameHunk
GHSA-8p3x-q3q3-q3v5unknownlibz-sys@1.1.12libz-sys build script leaks environment variables in the build directory
RUSTSEC-2026-0441unknownpin-utils@0.1.0`pin-utils` is unmaintained
GHSA-jh2m-fhpj-3vr7unknownrustix@1.1.4xattr functions mark unwritten bytes as initialized when given a zero-length buffer
RUSTSEC-2024-0449unknownunsafe-libyaml@0.2.10unsafe-libyaml is unmaintained
GHSA-hrj5-67jp-wqp9unknownurl@2.5.8Stack overflow in `Url::origin()` on nested `blob:` URLs
RUSTSEC-2024-0320unknownyaml-rust@0.4.5yaml-rust is unmaintained.

By the numbers

Stars32.9K
Forks781
Contributors164
Commits2,258
Open issues319
Open pull requests185
Releases68
Latest release0.23.0
LicenceMIT
Main languageRust
Project age7 years
Last pushNov 28, 2026
Tracked files271
Lines of code113.4K
Checkout size5 MB

Lines by language: JSON 41.6K, Rust 37.8K, HTML 28K, Markdown 3,429, JavaScript 1,033, Shell 739.

Questions

Is delta free?

Yes. It is free and open source under the MIT licence, with no paid version and no account.

delta or difftastic?

delta keeps git's line-by-line diff and makes it readable with colours, word highlights and side-by-side views. difftastic compares the structure of the code, so reformatted code shows as unchanged; delta can display difftastic's output too.

Does delta work on Windows?

Yes. Install it with winget or Scoop and set it as git's pager with the same git config commands, then use it in Windows Terminal.

Does delta change my repository?

No. As a pager it only displays what git prints. Only delta tui stages, commits or pushes, and only when you press those keys.

How do I uninstall delta?

Run git config --global --unset core.pager and git config --global --unset interactive.diffFilter, delete the [delta] lines from ~/.gitconfig, then run brew uninstall git-delta or winget uninstall dandavison.delta.


This post is part of GitHub Tools, where every repository is cloned and scanned before it is written up. The scan is a snapshot of one commit on one day; the repository has moved on since, so check it before you install.