03 Create first Git Changes (CLI)

Using the terminal, we will now create the first changes to the Git repository. For now, we will use the terminal, to learn the basics. LAter we will do the same, using the GUI.

echo "initial content" > file1.txt
git add .
git commit -m "My first change"
echo "new content" >> file1.txt
git add .
git commit -m "My second change"
git log --graph

You should now see a log of all the changes you have made, compete with author, timestamp and commit message. Git Log