Skip to main content
Glama

git_branch_switch

Switch to a specified branch in a GitHub repository using the repository path and branch name. Accessible via GitMCP, enabling AI assistants to manage project branches without setup.

Instructions

Switch to a branch

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesBranch name
pathYesRepository path

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/idosal/git-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server