# ruby-git/ruby-git

Ruby/Git is a Ruby library that can be used to create, read and manipulate Git repositories by wrapping system calls to the git binary.

Repository: https://github.com/ruby-git/ruby-git
Canonical: https://ross.abutalabs.com/products/ruby-git
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-24T20:42:12+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 6793, "days_push": 9, "days_rel": 14, "gap_med": 4.0, "n_releases_24m": 33}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1795, forks 530 (observed 2026-08-28T04:05:37.453011+00:00)

## What it is
The git gem is a Ruby library that provides an object-oriented interface for creating, reading, and manipulating Git repositories by wrapping the git command-line binary. It supports opening, initializing, and cloning repositories and exposes a full Ruby API for common Git operations.

## Use cases
- automate git operations from ruby scripts
- clone and inspect repositories programmatically
- create commits and branches without shelling out to git
- build tooling that reads git history
- initialize new git repositories in code

## When to choose
- you need to script or automate Git workflows in Ruby
- you want a mature, well-maintained wrapper around the git CLI
- you need cross-platform Git access from Ruby code

## When to avoid
- you need a pure-Ruby Git implementation without the git binary installed
- you need high-performance bulk operations where subprocess overhead matters
- you are not working in Ruby

## Facets
- artifact type: library
- maturity: active
- function: version-control, developer-tools, cli
- domain: version-control, developer-tools
- platform: ruby, cross-platform, cli
- tags: git, ruby-gem, git-wrapper, scm, automation

## Member repositories
- ruby-git/ruby-git (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.453011+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-30T03:22:51.998893+00:00, confidence not recorded.
  - readme: https://github.com/ruby-git/ruby-git (fetched 2026-08-28T04:05:37.453011+00:00, sha 66a5cdd38c61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
