macOS
brew install git-toolslocal Homebrew formula metadata
sudo port install git-toolsMacPorts ports tree · devel/git-tools/Portfile · source: api.github.com
brew
Assorted git-related scripts and tools. Version 2025.08 via Homebrew; verified from local package data.
install
brew install git-toolslocal Homebrew formula metadata
sudo port install git-toolsMacPorts ports tree · devel/git-tools/Portfile · source: api.github.com
sudo dnf install git-toolsFedora Rawhide package metadata · git-tools · source: dl.fedoraproject.org
nix profile install nixpkgs#git-toolsnixpkgs package indexes · pkgs/by-name/gi/git-tools/package.nix · source: api.github.com
sudo apt install git-restore-mtimeDebian stable package indexes · git-restore-mtime · source: deb.debian.org
overview
Assorted git-related scripts and tools
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
git-branches-rename | cli | global executable | |
git-clone-subset | cli | global executable | |
git-find-uncommitted-repos | cli | global executable | |
git-rebase-theirs | cli | global executable | |
git-restore-mtime | cli | global executable | |
git-strip-merge | cli | global executable |
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.
https://github.com/MestreLion/git-tools
install metadata
| Package key | brew:git-tools |
|---|---|
| Version | 2025.08 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/git-tools |
| Homepage | https://github.com/MestreLion/git-tools |
| Repository | https://github.com/MestreLion/git-tools |
| Upstream docs | https://github.com/MestreLion/git-tools#readme |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/MestreLion/git-tools/archive/refs/tags/v2025.08.tar.gz |
| Uses from macOS | python |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-tools |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
git-tools
nix profile install nixpkgs#git-toolsgit-tools 2025.08-2.fc44
Assorted git-related scripts and tools
https://github.com/MestreLion/git-tools
sudo dnf install git-toolsgit-tools
sudo port install git-toolsgit-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-mtimegit-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-mtimesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.