Terminal Lab
Practice Git, GitHub & SSH commands in a safe, simulated terminal.
Git
Saves and tracks code changes on your computer.
GitHub
A website where you store & share repos online.
CodeClass Mock Terminal · simulated output only — nothing real runs here.
Try a command below, or type 'help' to list them. Type 'clear' to reset.
Tap to run a mock command
Simulated terminal tasks
Git command basics
Type the safe mock command to inspect a Git repo.
git status
This command could award XP later.
GitHub SSH test command
Type the mock SSH test command for GitHub.
ssh -T [email protected]
This command could award XP later.
Lua event basics
Read a simple Lua event shape. Execution comes later.
RegisterNetEvent
This command could award XP later.
Mock memory examples
gti status
command not found: gti
nodee --version
Check spelling or whether the tool is installed.
fatal: not a git repository
Move into the project folder, then run git status again.
Permission denied (publickey)
Add your public key to GitHub, then test SSH again.
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.