
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@robinpath/git
Advanced tools
Git version control operations using the system git binary
The git module lets you:
All functions are callable directly from RobinPath scripts with a simple, consistent API.
robinpath add @robinpath/git
No credentials needed — start using it right away:
git.init
| Function | Description |
|---|---|
git.clone | Clone a git repository |
git.init | Initialize a new git repository |
git.status | Get the working tree status |
git.add | Stage files for commit |
git.commit | Create a commit with the staged changes |
git.push | Push commits to a remote repository |
git.pull | Pull changes from a remote repository |
git.branch | List, create, or delete branches |
git.checkout | Switch branches or restore working tree files |
git.log | Show the commit log |
git.diff | Show changes between commits, working tree, etc. |
git.tag | Create or list tags |
git.remote | List remote repositories |
git.merge | Merge a branch into the current branch |
git.stash | Stash or restore uncommitted changes |
git.reset | Reset the current HEAD to a specified state |
git.init
git.status
git.add
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/git";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
git.init
`);
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
@robinpath/docker — Docker module for complementary functionality@robinpath/github — GitHub module for complementary functionality@robinpath/gitlab — GitLab module for complementary functionality@robinpath/vercel — Vercel module for complementary functionality@robinpath/netlify — Netlify module for complementary functionalityMIT
FAQs
Git version control operations using the system git binary
We found that @robinpath/git demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.