3. Putting the project under version control
Checking the status of the repository
Let's use the command to check the current state of the repository.
Task
Completed
Run the git status command in the terminal.
You should see the following output:
Result:
On branch main
nothing to commit, working tree clean
This means that the repository is clean and there are no changes to commit.
I use the git status command pretty often to check what files I have changed since the last commit. It's good practice to check the status and do a quick . This way, you can be sure that you are committing the right changes.
Wanna try the Story mode?
Take the course as it was meant to be taken: bite-sized progression, focused linear order, gradually unlock Gitopedia entries. Continue with real Git in VS Code/Cursor/Antigravity/Windsurf at any time.
Story mode
FREE
but requires sign-in
but requires sign-in
Working Solo
Step 50 of 50