git status is your most-used command. It shows:
git status
# On branch main
# Changes not staged for commit:
# modified: app.js
#
# Untracked files:
# new-file.txt
git log # full details
git log --oneline # short: hash + message
git log --oneline --graph # with branch graph
git log --oneline -5 # last 5 commits only
git show abc1234 # full details of one commit
The repo already has two commits. Make a third commit: modify app.txt so it contains v2, then stage and commit it with message "Update app to v2".
Click "Run" to execute your code.