isomorphic-git · A pure JavaScript implementation of git for node and browsers!

Works in All Modern Browsers

Clone repos, create commits, push branches and more in client-side JS.

Works on Desktops and Servers

It uses the same on-disk format as git so it works with existing repos.

Features

isomorphic-git is a pure JavaScript implementation of git that works in node and browser environments (including WebWorkers and ServiceWorkers). This means it can be used to read and write to git repositories, as well as fetch from and push to git remotes like GitHub.

isomorphic-git aims for 100% interoperability with the canonical git implementation. This means it does all its operations by modifying files in a ".git" directory just like the git you are used to. The included isogit CLI can operate on git repositories on your desktop or server.

isomorphic-git aims to be a complete solution with no assembly required. The API has been designed with modern tools like Rollup and Webpack in mind. By providing functionality as individual functions, code bundlers can produce smaller bundles by including only the functions your application uses.

Try it out!

Branches:

Tags:

Cool, huh? There are a whole bunch more live examples in the docs!

Who's Using This?

This project is used by: