git-manager

Split project files between Git repositories and Hugging Face datasets.

8|Updated Jul 26, 2026
One-click install
npx skills add https://github.com/joonlab/joonlab-claudecode-setting-for-share --skill git-manager-joonlab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-manager
Source: https://github.com/joonlab/joonlab-claudecode-setting-for-share/tree/main/claude/skills/git-manager
Command: npx skills add https://github.com/joonlab/joonlab-claudecode-setting-for-share --skill git-manager-joonlab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires huggingface_hub.

What problem does it solve?

This skill solves the challenge of managing large non-text files (images, models, datasets) in Git-based projects by offloading them to Hugging Face while keeping code and configuration in Git.

Core Features & Use Cases

  • Hybrid Versioning: Automatically separates text files for Git and binary files for Hugging Face storage.
  • Sync Mapping: Maintains a .hf-sync.json file to ensure Git commits and Hugging Face revisions remain perfectly aligned.
  • Use Case: When working on a machine learning project, use this skill to commit your Python scripts to Git while simultaneously pushing your model weights and training data to a dedicated Hugging Face dataset repository.

Quick Start

Ask the git-manager to initialize version control and set up the Hugging Face synchronization for this project.

Frequently Asked Questions about git-manager

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

FAQPage Schema
How do I manage large binary files in Git without bloating the repository?

You can manage large binary files in Git by offloading them to remote Hugging Face datasets while keeping text-based source code in local Git. This hybrid versioning approach separates binary assets to maintain a lightweight repository and consistent project history.

What is the best way to sync Hugging Face datasets with Git commits?

The best way to sync Hugging Face datasets with Git commits is by maintaining a .hf-sync.json file that maps local Git commits to remote Hugging Face revisions. This ensures your model weights and training data align perfectly with your code updates.

Do I need the huggingface_hub library to automate Git and Hugging Face synchronization?

Yes, you need the huggingface_hub library installed along with a valid Git environment to execute automated synchronization operations. These dependencies are required to split project files and manage uploads between local and remote repositories.

How does hybrid versioning work for machine learning projects?

Hybrid versioning for machine learning projects works by automatically separating text files for Git and binary files for Hugging Face storage. It synchronizes your Python scripts to Git while pushing model weights and training data to a dedicated Hugging Face dataset repository.

Can I use this approach to push model weights to Hugging Face while committing code to Git?

Yes, you can simultaneously commit Python scripts to Git and push model weights to Hugging Face. The automated synchronization splits project files based on type, handling binary assets remotely and text-based source code locally.