The git gem provides an API that can be used to create, read, and manipulate Git repositories by wrapping system calls to the git command line. The API can be used for working with Git in complex interactions including branching and merging, object inspection and manipulation, history, patch generation and more.
Required Ruby Version
>= 3.0.0
Authors
Scott Chacon and others
Versions
- 5.6.0 September 12, 2026 (392 KB)
- 5.5.0 September 10, 2026 (390 KB)
- 5.4.1 September 04, 2026 (389 KB)
- 5.4.0 September 04, 2026 (386 KB)
- 5.3.0 September 03, 2026 (363 KB)
- 2.0.1 May 21, 2024 (54 KB)
Requirements
git 2.28.0 or greater