qmetrics.net

GitPython

Python library for Git repository operations

GitPython is in maintenance mode: “This project is in maintenance mode, which means that” source

GitPython screenshot

GitPython lets Python programs work with Git repos at porcelain or plumbing level, often by wrapping the git executable.

Overview

GitPython exposes Python abstractions over Git repositories, commits, trees, indexes, remotes, submodules, and diffs. It supports high-level workflows comparable to git porcelain and lower-level access similar to plumbing commands. The project is in maintenance mode and receives only bug and security fixes, not new features.

Many operations invoke the git command-line program on the host. The git binary must be installed and discoverable on the system, or pointed to with a configured executable path. An experimental Gix backend can run some reads and history queries through Gitoxide bindings without spawning git for supported operations; clone, fetch, push, and direct git command calls still use the CLI.

Documentation covers repositories, references, objects, the index, remotes, submodules, branches, and initialization patterns. Installable from package indexes or source with standard Python packaging workflows.

Long-running daemons should close repository handles explicitly or use context managers, because resource cleanup is not ideal for processes that run indefinitely. Windows usage has known edge cases documented in the issue tracker.

Key features

  • Repository and object API
  • Porcelain and plumbing style access
  • Remotes and submodules
  • Index and diff handling
  • Optional Gix native backend
  • Git CLI fallback operations

Use cases

  • Git automation in Python
  • Repository inspection tools
  • Build and release scripts
  • Custom version-control workflows

Tags

Similar software

GitLens

Git visualization and workflow extension for VS Code

GitLens extends Visual Studio Code with blame, history, commit graph views, and Git workflows maintained by GitKraken. A free Community edition coexists with paid Pro capabilities.

  • Interactive Commit Graph
  • Inline blame and CodeLens
  • Branch and worktree management
TypeScriptDetails →
★ 10k⟳ todayMIT · open core

isomorphic-git

Pure JavaScript git client for Node and browsers

A JavaScript reimplementation of git that runs in Node.js and in the browser without native C++ dependencies. It reads and writes repositories, and can fetch from and push to remotes.

  • Clone and push without native modules
  • Same code in Node and browser
  • Pluggable file system and HTTP
JavaScriptWeb, CLIDetails →
★ 8.4k⟳ todayMIT

Neogit

Magit-inspired Git UI inside Neovim

Neogit brings an interactive Git interface to Neovim with popups for branch, commit, rebase, and stash workflows inspired by Magit.

  • Magit-style popup menus
  • Tab, split, and float layouts
  • Visual range cherry-picks
LuaDetails →
★ 5.7k⟳ todayMIT

nbdime

Content-aware Jupyter notebook diff and merge tools

nbdime compares and merges Jupyter notebooks with structure-aware logic instead of raw line diffs. It offers terminal and web-based commands and hooks into Git and Mercurial.

  • Structure-aware notebook diffs
  • Three-way notebook merge
  • Terminal and web diff viewers
TypeScriptWeb, CLIDetails →
★ 2.8k⟳ 5 months agoBSD-3-Clause · open core

GitHub Pull Requests

GitHub pull requests and issues inside VS Code

A Microsoft extension to browse, review, and manage GitHub pull requests and issues from Visual Studio Code, including GitHub Enterprise.

  • GitHub and Enterprise authentication
  • List and browse pull requests
  • In-editor PR review comments
TypeScriptDetails →
★ 2.6k⟳ todayMIT

git2-rs

Safe Rust bindings to the libgit2 Git library

git2-rs exposes libgit2 to Rust programs for repository work. Local repository features are enabled by default; optional features add HTTPS and SSH networking.

  • Repository open init and clone
  • Optional HTTPS remote support
  • Optional SSH remote support
RustmacOSDetails →
★ 2.1k⟳ 4 days agoApache-2.0 · open core