# Install git-svn with Homebrew, apk, apt, dnf, zypper

Bidirectional operation between a Subversion repository and Git. Version 2.55.0 via Homebrew; verified 2026-06-29.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-svn
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add git-svn
```

  Evidence: Alpine Linux edge package indexes: git-svn from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install git-svn
```

  Evidence: Debian stable package indexes: git-svn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install git-svn
```

  Evidence: Fedora Rawhide package metadata: git-svn from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install git-svn
```

  Evidence: openSUSE Tumbleweed package metadata: git-svn from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:git-svn
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-svn>
- **Version:** 2.55.0
- **Source summary:** Bidirectional operation between a Subversion repository and Git
- **Homepage:** <https://git-scm.com>
- **Repository:** <https://git.kernel.org/pub/scm/git/git.git>
- **Upstream docs:** <https://git-scm.com/docs/git-svn>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.55.0.tar.xz>
- **Last updated:** 2026-06-29T20:54:54Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-svn (cli)
- git-svn (alias)

## Dependencies

- git
- subversion

## Uses from macOS

- perl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.55.0
- Package-manager updated: 2026-06-29
- Local data: ok
- Upstream repository: https://git-scm.com
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

git-svn is Git's built-in bridge for teams that need bidirectional operation between a Subversion repository and a Git repository. It lets a Git checkout track SVN trunk, branches, and tags while still sending commits back with dcommit.

### Project history

The git-svn manual describes the command as a conduit between Subversion changesets and Git commits. Its design grew around SVN layouts rather than Git remotes alone: users can initialize tracking for standard trunk/branches/tags repositories, customize trunk, tag, and branch paths, and store SVN remote metadata in Git configuration.

### Adoption history

git-svn became important during the long migration from centralized Subversion repositories to distributed Git workflows. Package managers often ship it as a separate package from core Git because SVN interoperability brings extra runtime dependencies, making it visible as its own installable tool even though it belongs to the Git source tree.

### How it is used

Practitioners use git svn clone or init plus fetch to import SVN history, rebase local Git work onto new SVN revisions, and dcommit Git commits back to the SVN server. It is also used as a migration tool: teams import a legacy SVN repository into Git, inspect or repair branch/tag mapping, and later stop using SVN once the Git repository becomes authoritative.

### Why package nerds care

The package matters because it captures an interoperability boundary in packaging form. Installing git alone is not always enough for old enterprise repositories; installing git-svn adds the SVN bridge, Perl plumbing, and documentation needed to keep legacy repositories moving while the rest of a toolchain speaks Git.

### Timeline

- Before Git 2.0: SVN-tracking refs used no default prefix, placing them directly under refs/remotes.
- Git 2.0: git-svn documentation records origin/ as the default prefix for SVN-tracking refs.
- Git 2.55.0: Homebrew packages git-svn from the Git release tarball as a separate formula.

### Related projects

- git-svn is related to Subversion itself, one-way conversion helpers such as git-svn-abandon, and third-party svn2git tools that focus on final migration rather than ongoing bidirectional operation.

### Sources

- <https://formulae.brew.sh/formula/git-svn>
- <https://git-scm.com/docs/git-svn>
- <https://git.kernel.org/pub/scm/git/git.git>
- <https://github.com/git/git/blob/master/Documentation/git-svn.adoc>


## 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: .git/config, ~/.gitconfig, ~/.config/git/config, /etc/gitconfig
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-svn
- **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:** head, stable

## Other Package-Manager Records

- Debian apt - git-svn - 1:2.47.3-0+deb13u1: normalized package name match | Debian stable package indexes: git-svn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, scalable, distributed revision control system (svn interoperability) | https://git-scm.com/
- Ubuntu apt - git-svn - 1:2.43.0-1ubuntu7: normalized package name match | Ubuntu 24.04 LTS package indexes: git-svn from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast, scalable, distributed revision control system (svn interoperability) | https://git-scm.com/
- apk - git-svn - 2.54.0-r0: normalized package name match | Alpine Linux edge package indexes: git-svn from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Subversion support for git | https://www.git-scm.com/
- dnf - git-svn - 2.54.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: git-svn from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Git tools for interacting with Subversion repositories | https://git-scm.com/
- zypper - git-svn - 2.54.0-2.1: normalized package name match | openSUSE Tumbleweed package metadata: git-svn from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Git tools for importing Subversion repositories | https://git-scm.com/


## 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](https://www.automicvault.com/pkg/brew/git/) - Runtime dependency declared by Homebrew.
- [subversion](https://www.automicvault.com/pkg/brew/subversion/) - Runtime dependency declared by Homebrew.
- [git-credential-libsecret](https://www.automicvault.com/pkg/brew/git-credential-libsecret/) - Shares the same upstream homepage.
- [git-gui](https://www.automicvault.com/pkg/brew/git-gui/) - Shares the same upstream homepage.
- [gource](https://www.automicvault.com/pkg/brew/gource/) - Shares av.db curated category or tags: cli, developer-tools, git, svn, version-control.
- [braid](https://www.automicvault.com/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [codeberg-cli](https://www.automicvault.com/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [dura](https://www.automicvault.com/pkg/brew/dura/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [gcli](https://www.automicvault.com/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, 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.
- [git-cinnabar](https://www.automicvault.com/pkg/brew/git-cinnabar/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cola](https://www.automicvault.com/pkg/brew/git-cola/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-svn-abandon](https://www.automicvault.com/pkg/brew/git-svn-abandon/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/git-svn.yml](https://github.com/automic-vault/db/blob/main/combined/git-svn.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
- external package-manager database matches
- cross-ecosystem install command graph
