Analysis updated 2026-05-18
Automatically commit and push code after every Claude Code, Cursor, Codex, or Pi agent turn without running git by hand.
Scan staged changes for API keys and secrets before they are ever pushed to GitHub.
Undo the last automatic commit locally and on the remote if an agent shipped something unwanted.
Keep multiple GitHub accounts and multi-agent workflows from stepping on each other in the same repo.
| davidondrej/autogit | ikunycj/gpt-team-register | shootthesound/comfyui-angelo | |
|---|---|---|---|
| Stars | 39 | 39 | 39 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 3/5 | 3/5 |
| Audience | developer | developer | designer |
Figures from each repo's GitHub metadata at analysis time.
autogit is a command-line tool that connects to AI coding agents (such as Claude Code, Cursor, Codex, and Pi) and automatically stages, commits, and pushes your code to GitHub the moment each agent turn finishes. Instead of running git commands manually after every change, autogit hooks into the agent's lifecycle so that when the agent stops, your work is already shipped. Setup takes two commands: install it globally with npm, run autogit setup once per machine, then run autogit on inside any repo where you want automatic pushing enabled. Only repos you explicitly opt into will ever be touched. From that point, each time your agent completes a task, autogit runs the full sequence: stage all changes, scan for secrets, commit, and push. Before pushing, autogit runs a built-in secrets scan that checks for API keys, private key blocks, environment files, and tokens. If it finds any, it blocks the push and unstages everything. Commit messages are also checked: if the prompt you gave your agent looks like it contains a secret, autogit falls back to a list of changed filenames rather than using the prompt as the commit subject. That way sensitive inputs never land in git history. If you push something you want to take back, autogit undo rewinds the last autogit commit both locally and on the remote, leaving the changes in your working tree so you can fix and re-push. It will not touch commits it did not create, and it will not operate on a remote that has since moved ahead of your local state. The tool handles several edge cases automatically. If the remote has moved ahead (because another machine pushed while you were working), autogit rebases and retries. If you have multiple GitHub accounts logged in, it asks which one to use and saves that setting per repo. If the repo is public on GitHub, it warns you that your agent prompts will appear in the commit history and asks for confirmation before enabling.
A command line tool that automatically stages, commits, and pushes your code to GitHub every time an AI coding agent finishes a turn.
Mainly JavaScript. The stack also includes Node.js, JavaScript, Git.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.