Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Git Helper - Learn Git Step by StepNew to Visual Studio Code? Get it now.
Git Helper - Learn Git Step by Step

Git Helper - Learn Git Step by Step

Posittivitty

|
3 installs
| (0) | Free
A beginner-friendly VS Code extension that teaches Git by guiding you through each step with explanations and one-click commands.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Helper - Learn Git Step by Step

A beginner-friendly VS Code extension that teaches Git by guiding you through each step inside your editor.

What It Does

Walkthrough Panel (sidebar): A step-by-step guide that walks you through the entire Git workflow — from checking if Git is installed to pushing code to GitHub. Each step explains what the command does in plain English, shows you the exact command, and lets you run it with one click.

Quick Actions (Command Palette): Common Git commands available through the Command Palette for when you already know what you want to do.

How to Run Locally (Development)

Prerequisites

  • VS Code installed
  • Node.js installed (v18 or newer)
  • Git installed

Step 1: Install Dependencies

Open a terminal in the project folder and run:

npm install

Checkpoint: You should see a node_modules/ folder appear. No errors in the terminal.

Step 2: Compile the TypeScript

npm run compile

Checkpoint: You should see an out/ folder appear with .js files inside it. No errors in the terminal.

Step 3: Open in VS Code

code .

This opens the project folder in VS Code.

Step 4: Launch the Extension Development Host

  1. Press F5 (or go to Run > Start Debugging)
  2. A new VS Code window will open — this is the "Extension Development Host"
  3. This second window has your extension loaded and ready to test

Checkpoint: The new window should open without errors.

Step 5: Open the Git Walkthrough

  1. In the Extension Development Host window, look at the Activity Bar (the icons on the far left)
  2. You should see a new Git branch icon — click it
  3. The "Git Walkthrough" sidebar panel should appear with all 9 steps

Checkpoint: You can see the walkthrough steps with descriptions and "Run Step" buttons.

Step 6: Test It Out

  1. Open a folder in the Extension Development Host (File > Open Folder)
  2. Click "Run Step" on Step 1 to verify Git is installed
  3. Work through the steps in order!

Step 7: Try the Quick Actions

  1. Press Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux)
  2. Type "Git Helper"
  3. You should see all 5 commands listed

Project Structure

git-helper-vscode/
├── .vscode/
│   ├── launch.json      ← How to launch the extension for testing
│   └── tasks.json       ← Build task configuration
├── media/
│   └── git-icon.svg     ← The icon shown in the Activity Bar
├── src/
│   ├── extension.ts     ← Entry point — registers commands and the sidebar
│   ├── gitCommands.ts   ← Runs Git commands safely using execFile
│   ├── steps.ts         ← Defines the 9 walkthrough steps (data only)
│   └── walkthroughProvider.ts  ← Builds the sidebar UI (HTML/CSS/JS)
├── out/                  ← Compiled JavaScript (generated by `npm run compile`)
├── package.json         ← Extension manifest — tells VS Code what this extension does
├── tsconfig.json        ← TypeScript compiler configuration
└── README.md            ← You are here!

How the Files Connect

package.json
  ↓ defines views, commands, activation
extension.ts
  ↓ registers the sidebar provider and commands
  ├── walkthroughProvider.ts  ← builds the sidebar HTML, handles button clicks
  │     ↓ imports
  │     ├── steps.ts          ← step definitions (titles, descriptions, commands)
  │     └── gitCommands.ts    ← runs git safely and logs output
  └── gitCommands.ts          ← also used directly by quick action commands

Walkthrough Steps

# Step What It Does
1 Check Git Installed Verifies Git is on your machine
2 Initialize Repo Creates a new Git repository
3 Check Status Shows which files have changed
4 Make a Change Reminds you to create/edit a file
5 Stage Files Adds changes to the staging area
6 Commit Saves a snapshot with a message
7 Add Remote Links to a GitHub repository
8 Push Uploads commits to GitHub
9 Pull Downloads latest changes

Quick Action Commands

Open the Command Palette (Cmd/Ctrl+Shift+P) and type "Git Helper":

  • Git Helper: Status — Show current repo status
  • Git Helper: Add All — Stage all changed files
  • Git Helper: Commit — Commit with a message (prompts for input)
  • Git Helper: Push — Push to remote
  • Git Helper: Pull — Pull from remote

All command output is logged to the Output panel (View > Output > "Git Helper").

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft