npm install use-git
# or
yarn add use-git
# or
pnpm add use-git
Full API reference and usage guides are available at https://teneplaysofficial.github.io/use-git.
All methods return the same git instance, allowing fluent chaining.
await git.init().add(".").commit("chore: initial commit").push();