modern-git

Installation
SKILL.md

Modern Git Commands

Purpose: This skill teaches AI agents to use modern, intuitive Git commands instead of legacy multi-purpose commands like git checkout. Modern commands are clearer, safer, and make code intent more obvious.

Core Principles

  1. Use git switch for branch operations - NOT git checkout
  2. Use git restore for file operations - NOT git checkout --
  3. Use git push --force-with-lease - NOT git push --force
  4. Be explicit about intent - Clear commands prevent mistakes

Quick Reference

Branch Operations → Use git switch

Related skills
Installs
14
GitHub Stars
1
First Seen
Jan 26, 2026