qmetrics.net

Isomorphic Git

Pure JavaScript git client for Node and browsers

Isomorphic Git screenshot

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.

Overview

isomorphic-git implements git operations in pure JavaScript so the same library can run on servers and in browser JavaScript, including WebWorkers and ServiceWorkers. It modifies the standard .git directory on disk the same way canonical git does, aiming for interoperability with ordinary git workflows.

The API exposes individual functions so bundlers can include only what an app needs. You supply your own file system and HTTP client in the browser; in Node you can use the native fs module and the provided HTTP helpers. Type definitions support static checking in common editors.

Supported workflows include cloning, init, branches, tags, commit history, checkout, push, commit, config, raw objects, PGP signing, status, and merge, among many other git commands. A separate isogit CLI maps command-line usage to the JavaScript API for quick testing, though it is not intended as a full git CLI replacement.

Browser use often needs a CORS proxy for clone and push against major hosts; complementary packages exist for that purpose. LightningFS and similar libraries emulate a file API when git runs client-side.

Key features

  • Clone and push without native modules
  • Same code in Node and browser
  • Pluggable file system and HTTP
  • Tree-shakeable function API
  • On-disk .git compatibility goal
  • Broad git command coverage
  • Optional isogit CLI
  • TypeScript type definitions

Use cases

  • Git in browser-based editors
  • Server-side git automation in Node
  • Embedded git in web apps
  • Small bundles via selective imports
  • Teaching or prototyping git clients

Tags

Similar software

Lazygit

Terminal user interface for everyday Git workflows

Lazygit wraps common Git operations in a keyboard-driven terminal UI. You can stage partial changes, rebase, cherry-pick, and inspect history without memorizing fragile command sequences.

★ 84.1k⟳ 5 days agoMIT

Gitea

Self-hosted Git forge with CI/CD and packages

Gitea is an all-in-one software development service you can run on your own infrastructure. It combines Git hosting with issues, reviews, project boards, package registries, and Gitea Actions CI/CD.

★ 59.3k⟳ todayMIT
Build & DeploymentSelf-hostable
Open Source Alternative to:GitHub

Gogs

Self-hosted Git service with web collaboration tools

Gogs hosts Git repositories over SSH and HTTP(S) and adds issues, pull requests, wikis, and organization features through a browser UI.

★ 48k⟳ 2 days agoMIT

GitHub CLI

Official GitHub terminal client

GitHub CLI brings issues, pull requests, and other GitHub workflows to the terminal beside git. It works with GitHub.com, Enterprise Cloud, and supported Enterprise Server deployments.

★ 47.3k⟳ yesterdayMIT

Harness

End-to-end developer platform with SCM, CI/CD, and registries

Harness Open Source combines code hosting, automated DevOps pipelines, hosted development environments called Gitspaces, and artifact registries in one platform.

★ 39k⟳ yesterdayApache-2.0
Build & DeploymentSelf-hostable
Open Source Alternative to:GitHub

Husky

Lightweight native Git hooks for Node projects

Husky wires Git hooks so teams can lint commit messages, run tests, or check code on commit and push. It uses core.hooksPath, stays around two kilobytes gzipped, and supports macOS, Linux, and Windows.

★ 35.4k⟳ 8 months agoMIT