Make Changes
Now that you’ve set up your Git repository and made your first commit, it’s time to make some changes to the university page.
Update the index.html File
Let’s update the welcome message in the index.html file to make it even better. Change the text inside the file to:
<p>Welcome to the awesome university</p>
If you're using Linux, you can quickly do this with one command:
echo "<p>Welcome to the awesome university</p>" > index.html
Check the Status Again
Now that you’ve made changes to the file, let’s check the status again by running the git status command:
git status
You should see something like this:
On branch master
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
modified: index.html
no changes added to commit (use "git add" and/or "git commit -a")
What Does This Mean?
The file index.html shows up under the "Changes not staged for commit" section. This means that Git has noticed you made changes to the file, but those changes haven’t been staged yet (they’re not ready to be committed).
In simple terms, Git is telling you: “I see you changed something, but I’m not ready to save it just yet. Use git add to get it ready for the next commit!”