Online Git Playground

Learn version control in an online Git workspace: initialize repositories, inspect changes, and practice the workflow behind team collaboration.

  • Free online practice
  • Real LabEx environments
  • No installation
  • Repositories
  • Working tree
  • Commits and branches
Learn Git

Git Terminal· Ready

Open Git Lab
Welcome to the LabEx Git Terminal. Press Enter to run your first command. Type help for session commands.
Commands run locally in your browser.

Start here

Quick Start with Git Playground

Load a task into the terminal, then press Enter to see the result. Each example works in the introductory session on this page.

Inspect repository status

A sample repository with an initial commit is ready in your home directory.

git status

Read recent commits

Review the sample repository’s commit history.

git log --oneline

List branches

See the active branch and any branches you create.

git branch

Read the project

Inspect the tracked README file.

cat README.md

Create a branch

Add a practice branch without switching away from main.

git branch practice

Create a new file

Write a note that Git can track.

echo "Git practice" > notes.txt

Stage a file

Stage the included notes file or your edited version.

git add notes.txt

Review staged changes

Inspect what is staged before committing.

git diff --cached

No setup needed

How the Git Playground Works

Learn version control in an online Git workspace: initialize repositories, inspect changes, and practice the workflow behind team collaboration.

Start with the short command exercises above. When you are ready for a project, open the linked LabEx lab to work with real tools in an online Linux environment, with step-by-step guidance and immediate feedback.

Build practical Git skills

  • Repositories
  • Working tree
  • Commits and branches
Explore Git Labs

Keep learning

Learn Git with Hands-On Labs

Build on your Git experiments with a structured skill tree. Explore the skills, choose a guided lab, and practice each concept in an online environment.

Online Git Playground FAQ

What Git workflow can I practice?

Create a repository, stage changes, commit, and inspect history. Sign in to a hosted lab to work with real files and continue into branches, merges, and remote repositories.

Is the Git Playground free?

The introductory exercises are free. Sign in for a complete LabEx environment; session duration and resources depend on your lab and plan.

Do I need to install software?

No local installation is required. Sign in and open the lab in a modern browser. Follow the lab instructions to configure software inside the environment.

Where can I use more commands and features?

This preview supports a limited command set. Sign in and launch the Git lab for more commands, packages and services. Available software and permissions depend on the selected lab.

How do I continue learning Git?

Follow the Git Skill Tree for guided labs and challenges. Practice regularly, inspect command output and ask Labby for help.

Your next step

Ready to practice Git?

Continue with real tools, guided labs, and Labby assistance.

Try LabEx Git Labs