git

Git is the foundation of modern software. In 2025, features like Sparse Checkout and Scalar (for monorepos) are becoming mainstream.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "git" with this command: npx skills add g1joshi/agent-skills/g1joshi-agent-skills-git

Git

Git is the foundation of modern software. In 2025, features like Sparse Checkout and Scalar (for monorepos) are becoming mainstream.

When to Use

  • Always: Use it for everything. Text files, config, code.

  • Bisect: Finding bugs by binary search.

Core Concepts

Graph

Commits form a DAG (Directed Acyclic Graph).

Rebase vs Merge

  • Merge: Preserves history, creates bubbles.

  • Rebase: Rewrites history, linearizes.

Worktrees

Checkout multiple branches of the same repo in different folders simultaneously.

Best Practices (2025)

Do:

  • Use git switch / git restore : The modern alternatives to the overloaded git checkout .

  • Use git maintenance : Speed up fetch/clone in the background.

  • Sign Commits: Use SSH keys to sign commits (Commit Signing ).

Don't:

  • Don't force push to shared branches: git push --force-with-lease is the safer alternative.

References

  • Git Documentation

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

git

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

template

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

mariadb

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

claude

No summary provided by upstream source.

Repository SourceNeeds Review