Note: this is for your own practice and need not be submitted anywhere. If you encounter any problem or error, please consider asking us in the next class or message us directly.
Create a new folder (working directory) somewhere on your system.
Open that folder. Then open Git Bash/Terminal in that folder.
git init
git status
Copy any file in that folder and then check status again.
Add the untracked files to staging area using:
git add <filename>
or git add .
git commit -m "First Commit"
git status
Repeat Step 5 to Step 8 by copying a different file.
Modify contents of any file and check status again.
Add modified files to staging area using:
bash
git add <filename>
or
bash
git add .
git commit -m "Modified <filename>"
git log