Create a local Git bundle backup of the OpenClaw workspace repository. Use when running /gitbackup in Telegram or when the user asks to back up Git history/refs to a local file.
14 stars
0 votes
0 copies
2 views
Added September 7, 2026
toolsbashgit
Security analysis
B75/100
criticalAccesses sensitive system or user directories
Installs into .claude/skills of the current project.
Are you the author of Gitbackup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-gitbackup)
---
name: gitbackup
description: Create a local Git bundle backup of the OpenClaw workspace repository. Use when running /gitbackup in Telegram or when the user asks to back up Git history/refs to a local file.
---
# Git Backup (local bundle)
## Overview
Create a self-contained Git bundle of the workspace repo and store it in `/root/.openclaw/backups`.
## Quick start
Run the bundled script:
```bash
bash /root/.openclaw/workspace/skills/gitbackup/scripts/git-backup.sh
```
## Output
Print the bundle path and size. The bundle filename includes UTC timestamp.
## Notes
- If the workspace is not a Git repo, exit with a clear error.
- Do not delete older bundles.