Skip to main content
Glama

Learn git with LLMs

Use your local LLM client to learn git interactively with the help of this course.

How it works

  • This repository contains an MCP server that instructs your LLM client teach you git. It contains course materials and instructions.

  • It also keeps track of your progress, so you can continue where you left off.

  • To use, add the MCP server to your local LLM client and say start git course to begin the course. You can restart the course at any time by saying restart git course.

  • The MCP server keeps track of your progress, you can ask it to resume the git course and it will resume the course.

  • Sometimes LLMs get confused you can jump to any lesson b

Related MCP server: mcp-git

How to use

  • Set up your local LLM client.

  • Install and add mcp-git-course as an MCP server to your client.

  • Ask your LLM client to "start the git course".

Requirements

A local LLM client that supports MCP servers, such as Zed, Claude code, VS Code, or Gemini.

Installation

pipx

install via pipx:

pipx install git+https://github.com/gdkrmr/git-mcp-course.git

This will install the mcp-git-course command, which is the MCP server that serves the course materials.

update the package:

pipx upgrade git+https://github.com/gdkrmr/git-mcp-course.git

uvx

use directly via uvx, uvx takes care of installation on the fly. Configure as

{
  "git_course": {
    "command": "uvx",
    "args": [
      "--from",
      "git+https://github.com/gdkrmr/mcp-git-course@master",
      "mcp-git-course"
    ]
  }
}

note that the exact configuration may be slightly different, depending on your client.

Configure for your client

Zed

Add the following to ~/.config/zed/settings.json

{
  ...,
  "context_servers": {
    "git_course": {
      "source": "custom",
      "enabled": true,
      "command": "mcp-git-course",
      "args": [],
      "env": {}
    },
    ...
  },
  ...
}

Claude code

TODO

VS Code

  • Install the Copilot and Copilot Chat

  • Press Ctrl+Shift+p

  • Search for "MCP: Add MCP server"

  • Choose "Command (stdio)"

  • As command enter uvx --from git+https://github.com/gdkrmr/mcp-git-course@master mcp-git-course

  • As name enter "git-course", or similar

  • The server should appear under the tools icon in the agent panel on the bottom right.

The mcp.json file should look as follows:

{
	"servers": {
    // There should be an inline button here to start/restart/stop/etc. the server.
		"git-course": {
			"type": "stdio",
			"command": "uvx",
			"args": [
				"--from",
				"git+https://github.com/gdkrmr/git-mcp-course.git",
				"mcp-git-course"
			]
		}
	},
	"inputs": []
}

`

gemini-cli

Add this to your ~/.gemini/settings.json file:

{
  "mcpServers": {
    "serverName": {
      "command": "mcp-git-course",
      "args": [],
      "env": {},
      "cwd": "",
      "timeout": 30000,
      "trust": false
    }
  }
}

Manually following the course

You can also access the course materials here without having an LLM as an intermediary.

Notice

This work was inspired by MCP course provided by the mastra mcp server.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that enables Large Language Models to interact with Git repositories through a robust API, supporting operations like repository initialization, cloning, file staging, committing, and branch management.
      28
      4,408 npm
      245
      Apache 2.0
    • -
      license
      A
      quality
      Not graded
      maintenance
      Provides comprehensive Git operations as tools for AI assistants and applications. This server enables AI systems to interact with Git repositories, allowing to initialize, fetch, commit, log, status, etc..
      10
      2 npm
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that provides Git version control operations as structured tools for AI coding agents. It enables LLMs to programmatically manage repositories through actions like committing changes, rolling back code, and comparing diffs.
      10
      Apache 2.0