capabilities.work

Compare two branches, tags or commits

One step with GitLab. We can help you get access.

Look something up

Compare two branches, tags or commits

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Repositories API lets you compare two branches, tags or commits in a single step (GET /api/v4/projects/{id}/repository/compare). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I see what changed between two Git branches or tags?
  • Can I compare a branch against a tag?
Say it to your AI assistant
  • Compare {from} to {to} in project {id}.
  • Show the diff between branch {from} and tag {to} in {id}.
For your developer

GET /api/v4/projects/{id}/repository/compare in GitLab REST Repositories API. Full spec on APIs.io.