CodeClass

AI

Terminal Lab

Practice Git, GitHub & SSH commands in a safe, simulated terminal.

12day streak
Level 71840 / 2200 XP

Git

Saves and tracks code changes on your computer.

GitHub

A website where you store & share repos online.

SimulatedNo real commands run · no GitHub connection · no SSH
bash — codeclass-demoMock
CodeClass Mock Terminal · simulated output only — nothing real runs here.
Try a command below, or type 'help' to list them. Type 'clear' to reset.
nathan@codeclass:~/codeclass-demo$

Tap to run a mock command

Simulated terminal tasks

+30 XP later

Git command basics

Type the safe mock command to inspect a Git repo.

git status

This command could award XP later.

+35 XP later

GitHub SSH test command

Type the mock SSH test command for GitHub.

ssh -T [email protected]

This command could award XP later.

+40 XP later

Lua event basics

Read a simple Lua event shape. Execution comes later.

RegisterNetEvent

This command could award XP later.

Mock memory examples

Wrong command typed

gti status

command not found: gti

Command not found

nodee --version

Check spelling or whether the tool is installed.

Wrong folder

fatal: not a git repository

Move into the project folder, then run git status again.

SSH publickey error

Permission denied (publickey)

Add your public key to GitHub, then test SSH again.

Remote exists

remote origin already exists

Use git remote set-url origin <url>.

Common Git & GitHub mistakes

git: command not found / not recognized

Common cause in Git or GitHub workflow.

Install Git, then close and reopen your terminal.

fatal: not a git repository

Common cause in Git or GitHub workflow.

cd into the project, or run git init to start one.

nothing to commit, working tree clean

Common cause in Git or GitHub workflow.

Edit a file or git add a new one before committing.

remote origin already exists

Common cause in Git or GitHub workflow.

Update it with git remote set-url origin <url>.

authentication failed

Common cause in Git or GitHub workflow.

Use a personal access token or set up an SSH key.

Permission denied (publickey)

Common cause in Git or GitHub workflow.

Add your public key to GitHub, then test with ssh -T [email protected].

rejected: non-fast-forward

Common cause in Git or GitHub workflow.

Run git pull first, then push again.

merge conflict

Common cause in Git or GitHub workflow.

Open the file, pick the correct code, then commit.