Skip to main content
Glama

Git Repo Browser MCP

git_branch_diff

Compare changes between two branches in a Git repository to identify file differences, with an option to include detailed diff patches for precise analysis.

Instructions

Compare two branches and show files changed between them.

Input Schema

NameRequiredDescriptionDefault
repo_urlYesThe URL of the Git repository
show_patchNoWhether to include the actual diff patches
source_branchYesThe source branch name
target_branchYesThe target branch name

Input Schema (JSON Schema)

{ "properties": { "repo_url": { "description": "The URL of the Git repository", "type": "string" }, "show_patch": { "default": false, "description": "Whether to include the actual diff patches", "type": "boolean" }, "source_branch": { "description": "The source branch name", "type": "string" }, "target_branch": { "description": "The target branch name", "type": "string" } }, "required": [ "repo_url", "source_branch", "target_branch" ], "type": "object" }

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/bsreeram08/git-commands-mcp'

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