All Scenarios
🎯Beginner

Your First Git Commit

Turn a plain project folder into a repository: init, stage, commit, and keep going.

5 minutes
Easy
10 steps
YOUR FILES — ONE FILE, THREE PLACESWorking diryour diskStagingnext commitHEADlast commitadd ›commit ›GITUALIZENO REPOSITORY YET — just a folder of files (no .git)README.mduntrackedapp.jsuntrackedindex.htmluntrackedv1——v1——v2——HEAD → main (no commits yet)
0.0s / 86s
commitring = the commit HEAD is onunreachable (still exists)branch = movable labelorigin/* = your bookmark of the remoteHEAD = where you are