# Install git-fresh with Homebrew

Utility to keep git repos fresh. Version 1.13.0 via Homebrew; verified 2026-06-18.

## Install

```sh
sudo av install brew:git-fresh
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-fresh
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:git-fresh
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-fresh>
- **Version:** 1.13.0
- **Source summary:** Utility to keep git repos fresh
- **Homepage:** <https://github.com/imsky/git-fresh>
- **Repository:** <https://github.com/imsky/git-fresh>
- **Upstream docs:** <https://github.com/imsky/git-fresh#readme>
- **License:** MIT
- **Source archive:** <https://github.com/imsky/git-fresh/archive/refs/tags/v1.13.0.tar.gz>
- **Last updated:** 2026-06-18T09:25:51+09:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-fresh (cli)
- git-fresh (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.13.0
- Package-manager updated: 2026-06-18
- Local data: ok
- Upstream repository: https://github.com/imsky/git-fresh
- Upstream latest detected: v1.13.0 (current)
## Project history and usage

git-fresh is a small Git maintenance command by Ivan Malopinsky for updating a repository's root branch, pruning remotes, stashing changes, and removing stale local or remote branches.

### Project history

The repository began in August 2015 as a compact shell utility around recurring Git cleanup tasks. Its README describes the default behavior as updating the local root branch from the remote root, stashing changes, and pruning remote branches, with optional flags for stale-branch deletion, rebasing or merging a selected branch, tag cleanup, workspace wiping, and stash clearing.

### Adoption history

Reliable public history for git-fresh is thin, but the README documents Homebrew, bpkg, and AUR installation paths, plus manual installation on Linux, macOS, and Windows. That places the tool in the tradition of personal Git subcommands that reached package managers because the workflow was useful enough to share.

### How it is used

Practitioners run `git fresh` when returning to a repository and wanting to synchronize the root branch, prune remote-tracking branches, and optionally clean stale branches or tags. The `.freshignore` file, either in the repository or home directory, lets users protect branch names from cleanup.

### Why package nerds care

The package is niche but practical: it bundles a handful of maintenance commands into one executable and exposes a tiny ignore-file convention. Its significance is local-workstation ergonomics rather than broad ecosystem influence.

### Timeline

- 2015: The repository began with an initial commit.
- 2015: Early 1.x tags established the command-line utility.
- Later releases: Homebrew, bpkg, and AUR installation paths were documented.

### Related projects

- git-fresh is related to Git's fetch, pull, prune, stash, rebase, branch deletion, and tag cleanup commands.

### Sources

- <https://formulae.brew.sh/formula/git-fresh>
- <https://github.com/imsky/git-fresh>
- <https://github.com/imsky/git-fresh#readme>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .freshignore, ~/.freshignore
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-fresh
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [git-extras](https://www.automicvault.com/pkg/brew/git-extras/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extensions, version-control.
- [git-flow](https://www.automicvault.com/pkg/brew/git-flow/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extensions, version-control.
- [git-delete-merged-branches](https://www.automicvault.com/pkg/brew/git-delete-merged-branches/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extensions, version-control.
- [git-delta](https://www.automicvault.com/pkg/brew/git-delta/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extensions, version-control.
- [git-filter-repo](https://www.automicvault.com/pkg/brew/git-filter-repo/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extensions, version-control.
- [git-format-staged](https://www.automicvault.com/pkg/brew/git-format-staged/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extensions, version-control.
- [git-lfs](https://www.automicvault.com/pkg/brew/git-lfs/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extensions, version-control.
- [git-branchless](https://www.automicvault.com/pkg/brew/git-branchless/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control, workflow.

## Combined YAML source

View the package source record on GitHub. [combined/git-fresh.yml](https://github.com/automic-vault/db/blob/main/combined/git-fresh.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
