git-sync

Commit and push local workspace changes to a GitHub repository.

26|5|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/kunwl123456/zeroclaw-skills-collection --skill git-sync-kunwl123456
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-sync
Source: https://github.com/kunwl123456/zeroclaw-skills-collection/tree/main/git-sync
Command: npx skills add https://github.com/kunwl123456/zeroclaw-skills-collection --skill git-sync-kunwl123456

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures your local workspace changes are backed up and version-controlled on a remote GitHub repository, preventing data loss and maintaining a history of your work.

Core Features & Use Cases

  • Automatic Synchronization: Commits and pushes local changes to the remote repository.
  • Safety Features: Utilizes .gitignore and pre-commit hooks to prevent accidental commits of sensitive information.
  • Use Case: After making significant progress on a project, you can trigger this skill to ensure all your latest code and configurations are safely stored on GitHub.

Quick Start

Use the git-sync skill to commit and push your local changes with the message "Update project files".

Frequently Asked Questions about git-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What's the best way to back up my local project code to GitHub?

To back up local project code to GitHub, this skill commits and pushes your latest configurations and work to a remote repository, preventing data loss and maintaining a history of your project.

Can I prevent accidental commits of sensitive information when pushing to GitHub?

You can prevent accidental commits of sensitive information when pushing to GitHub because the sync process utilizes `.gitignore` and pre-commit hooks for safety.

Does git-sync work with branches other than main?

No, git-sync specifically pushes committed local changes to the 'main' branch only. The automated version control workflow targets the main remote repository branch for backups.

How do I commit and push local workspace files with a custom message?

To commit and push local workspace files with a custom message, you simply trigger this skill and provide your desired text, such as "Update project files", to label the synchronization.