pkg.soopen package index

brew / rank 3471

Install git-tools with Homebrew, dnf, MacPorts, Nix, apt

Assorted git-related scripts and tools. Version 2025.08 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#git-tools.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install git-tools

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install git-tools

MacPorts ports tree · devel/git-tools/Portfile · source: api.github.com

Linux

Fedora dnfverified · 92%
sudo dnf install git-tools

Fedora Rawhide package metadata · git-tools · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#git-tools

nixpkgs package indexes · pkgs/by-name/gi/git-tools/package.nix · source: api.github.com

Debian aptverified · 92%
sudo apt install git-restore-mtime

Debian stable package indexes · git-restore-mtime · source: deb.debian.org

overview

Package summary

Assorted git-related scripts and tools

Commands and aliases

  • git-branches-rename
  • git-clone-subset
  • git-find-uncommitted-repos
  • git-rebase-theirs
  • git-restore-mtime
  • git-strip-merge

history

Project history and usage

Git Tools is Rodrigo Silva's collection of small Git-related command-line utilities, distributed as normal `git-*` executables with optional man pages. The suite covers repository maintenance and migration chores that are useful but too specific to belong in core Git.

Project history

The upstream repository was created in 2012, and the README says the tools have been tested against Git versions dating back to 2010. The collection is built from Bash utilities plus a Python utility, git-restore-mtime, which became the most visible member of the set.

Adoption history

The README explicitly credits git-restore-mtime as the reason the repository was packaged into distributions. It lists Debian, Ubuntu, Linux Mint, Fedora, EPEL-based systems, Gentoo, Arch AUR, Homebrew, MacPorts, Kali Linux, MidnightBSD mports, and Mageia as distribution channels or package ecosystems for the tools.

How it is used

Practitioners use the tools as Git subcommands after placing the executables in PATH or installing an operating-system package. Examples include restoring file modification times from commit history, finding repositories with uncommitted changes, cloning a subset of a repository while preserving relevant history, renaming branch prefixes, and stripping files before a merge.

Why package nerds care

Git Tools is a classic package-manager-friendly utility collection: small scripts, man pages, no daemon, and names that Git automatically discovers as subcommands. Its packaging story also shows how one highly useful script, git-restore-mtime, can pull a broader toolbox into distro archives.

Timeline

  • 2010: README says the tools were tested against Git versions dating back to this era.
  • 2012: GitHub repository created and copyright notice added for Rodrigo Silva.
  • 2020: Debian oldoldstable carried git-mestrelion-tools 2020.09-1.
  • 2022: Debian stable line carried git-mestrelion-tools 2022.12-1.

Related projects

  • The suite extends Git and overlaps with shell scripts, Git aliases, and individual packaging of git-restore-mtime in Debian-derived systems.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
git-branches-renameexecutableindexed executableDiscovered from the local executable index.
git-clone-subsetexecutableindexed executableDiscovered from the local executable index.
git-find-uncommitted-reposexecutableindexed executableDiscovered from the local executable index.
git-rebase-theirsexecutableindexed executableDiscovered from the local executable index.
git-restore-mtimeexecutableindexed executableDiscovered from the local executable index.
git-strip-mergeexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version2025.08
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:git-tools
Version2025.08
Package managerHomebrew
Homepagehttps://github.com/MestreLion/git-tools
Repositoryhttps://github.com/MestreLion/git-tools
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

git-tools

nix profile install nixpkgs#git-tools
  • normalized package name match
  • Matched by: Git Tools
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

git-tools 2025.08-3.fc45

Assorted git-related scripts and tools

https://github.com/MestreLion/git-tools

sudo dnf install git-tools
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: git-tools
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Git Tools
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: git-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
MacPorts95%

git-tools

sudo port install git-tools
  • normalized package name match
  • Matched by: Git Tools
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/git-tools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

git-restore-mtime 2022.12-1

set timestamps to the date of a file's last commit

https://github.com/MestreLion/git-tools

sudo apt install git-restore-mtime
  • Section: vcs
  • Architecture: all
  • Source Package: git-mestrelion-tools
  • 2 dependencies
  • installed executable or alias match
  • Matched by: Git Restore Mtime
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-restore-mtime from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

git-restore-mtime 2022.12-1

set timestamps to the date of a file's last commit

https://github.com/MestreLion/git-tools

sudo apt install git-restore-mtime
  • Section: universe/vcs
  • Architecture: all
  • Source Package: git-mestrelion-tools
  • 2 dependencies
  • installed executable or alias match
  • Matched by: Git Restore Mtime
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-restore-mtime from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation