Create a file in your new repository, add something to that file and commit those changes to Git.
Now that you've got a repository started, add a file to it.
Open a text editor. Now write a couple of lines of text, perhaps
say hello, and save the file as readme.txt
in the 'hello-world' folder you created in the last challenge.
Next check the status of your repository to find out if there have been changes. Below in this terminal, you should still be within the 'hello-world' you created. See if there are changes listed:
$ git status
Then add the file you just created to the files you'd like to commit (aka save) to change.
$ git add readme.txt
Finally, commit those changes to the repository's history with a short description of the updates.
$ git commit -m "<your commit message>"
Now add another line to readme.txt
and save.
In terminal, you can view the difference between the file now and how it was at your last commit.
$ git diff
Now with what you just learned above, commit this latest change.
git-it verify
git-it
$ git status
$ git diff
$ git add <FILENAME>
$ git add .
$ git commit -m "<your commit message>"