# src-d/go-git

Project has been moved to: https://github.com/go-git/go-git

Repository: https://github.com/src-d/go-git
Canonical: https://ross.abutalabs.com/products/src-d-go-git
Homepage: https://github.com/go-git/go-git
Language: Go
License: Apache-2.0
License Family: permissive
Topics: git, git-client, go-git, git-server, golang
Archived: true
Last push: 2022-04-10T11:14:17+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3968, "days_push": 1606, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4873, forks 528 (observed 2026-08-28T04:09:01.685665+00:00)

## What it is
go-git is a highly extensible Git implementation written in pure Go, offering both low-level (plumbing) and high-level (porcelain) APIs to manipulate Git repositories. This src-d/go-git repository is abandoned; development has moved to go-git/go-git.

## Use cases
- clone git repositories from Go code without the git binary
- read and manipulate git repository objects programmatically
- implement custom git storage backends
- build git-aware tools and services in Go
- run an in-memory git repository for testing

## When to choose
- you need Git functionality in a Go program without shelling out to the git CLI
- you want pluggable storage backends like in-memory filesystems
- you are building tooling that inspects or manipulates Git repositories

## When to avoid
- you need full git compatibility with all features
- you want an actively maintained version - use go-git/go-git instead
- you need a complete git client or server application rather than a library

## Facets
- artifact type: library
- maturity: abandoned
- function: version-control, developer-tools
- domain: version-control, developer-tools
- platform: go, cross-platform
- tags: git, git-client, pure-go, moved-to-go-git-go-git

## Member repositories
- src-d/go-git (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:01.685665+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:18.459516+00:00, confidence not recorded.
  - readme: https://github.com/src-d/go-git (fetched 2026-08-28T04:09:01.685665+00:00, sha 2ae7447020c3)
  - homepage: https://github.com/go-git/go-git (fetched 2026-08-29T09:00:42.949996+00:00, sha 090bfe25c0cd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
