Basic Git Command for Beginners

Click a step, run its command, and watch your files move between the working directory, the staging area, your local repository, and GitHub.

📁
Working directory
Your project files
📥
Staging area
Marked for the next commit
🗄️
Local repository
.git commit history
no branch
☁️
Remote (GitHub)
origin
terminal — ~/project
Run a command to see its output here.