Automic VaultAutomic Vault

brew

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.

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 post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

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-renamecliglobal executable
git-clone-subsetcliglobal executable
git-find-uncommitted-reposcliglobal executable
git-rebase-theirscliglobal executable
git-restore-mtimecliglobal executable
git-strip-mergecliglobal executable

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-07-08
manager version2025.08
manager updated
local dataok
upstreamcurrent
latest detectedv2025.08

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

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:git-tools
Version2025.08
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/git-tools
Homepagehttps://github.com/MestreLion/git-tools
Repositoryhttps://github.com/MestreLion/git-tools
Upstream docshttps://github.com/MestreLion/git-tools#readme
LicenseGPL-3.0-or-later
Source archivehttps://github.com/MestreLion/git-tools/archive/refs/tags/v2025.08.tar.gz
Uses from macOSpython
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-tools
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

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-2.fc44

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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment