Agent skill · software engineering · sundial-org

git-essentials

Essential Git commands and workflows for version control, branching, and collaboration.

Why this skill is useful

Codifies essential Git commands and workflows but AI already knows basic version control principles.

What it needs

Requires git installed locally. About 4k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

Git Essentials Essential Git commands for version control and collaboration. Initial Setup Basic Workflow Staging and committing Viewing changes Branching & Merging Branch management Merging Remote Operations Managing remotes Syncing with remote History & Logs Viewing history Searching history Undoing Changes Working directory Staging area Commits Stashing Rebasing Tags Advanced Operations Cherry-pick Submodules Clean Common Workflows Feature branch workflow: Hotfix workflow: Syncing fork: Useful Aliases Add to ~/.gitconfig: Tips Commit often, perfect later (interactive rebase) Write meaningful commit messages Use .gitignore for files to exclude Never force push to shared branches Pull before starting work Use feature branches, not main Rebase feature branches before merging Use --force-with-lease instead of --force Common Issues Undo accidental commit: Recover deleted branch: Fix wrong commit message: Resolve merge conflicts: Documentation Official docs: https://git-scm.com/doc Pro Git book: https://git-scm.com/book Visual Git guide: https://marklodato.github.io/visual-git-guide/

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/git-essentials

View the source on GitHub

Browse the @skills marketplace