Command Palette

Search for a command to run...

Back to skills
skill № 61850

git-switch

Switch between branches with safety checks.

FreeNo executable scripts
Andersonlimahwby Andersonlimahw★ 19 GitHub stars

Install git-switch in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Git Switch Skill

Switch git branches using the modern git switch command.

Capabilities

  • Switch to branch: git switch <branch>
  • Create and switch: git switch -c <new-branch>
  • Create from commit: git switch -c <new-branch> <commit>
  • Detach HEAD: git switch --detach <commit>
  • Switch to previous: git switch - (dash for previous branch)
  • Force switch: git switch -f <branch> (discard local changes)
  • Switch with merge: git switch -m <branch> (merge local changes)
  • Show progress: git switch --progress <branch>

Usage

Triggered when user says "switch branch", "checkout branch", "change branch", "go to branch". Warn about uncommitted changes before switching. Use - to toggle between two branches.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the git-switch skill do?

Switch between branches with safety checks.

How do I install the git-switch skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the git-switch skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare git-switch with