go-git is a highly extensible git implementation library written in pure Go. It can be used to manipulate git repositories at low level (plumbing) or high level (porcelain), through an idiomatic Go API. It also supports several types of storage, such as in-memory filesystems, or custom implementations, thanks to the Storer interface. It's being actively developed since 2015 and is being used extensively by Keybase, Gitea or Pulumi, and by many other libraries and tools. After the legal issues with the src-d organization, the lack of update for four months and the requirement to make a hard fork, the project is now back to normality. The project is currently actively maintained by individual contributors, including several of the original authors, but also backed by a new company, gitsight, where go-git is a critical component used at scale. go-git aims to be fully compatible with git, all the porcelain operations are implemented to work exactly as git does.

Features

  • go-git is a highly extensible git implementation library written in pure Go
  • Apache License Version 2.0
  • It also supports several types of storage
  • It can be used to manipulate git repositories at low level (plumbing)
  • Manipulate git repositories at high level (porcelain)
  • Custom implementations

Project Samples

Project Activity

See All Activity >

Categories

Git

License

Apache License V2.0

Follow go-git

go-git Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of go-git!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Git Software

Registered

2022-12-14