Staging a Commit

Explain what staging a commit does.

Check Status

Instruct user to change some files.
Explain how to check status (to see what files have changed).

git status

Explain response from Git.

# On branch master
#
# Initial commit
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	filename.html

Stage Files

Explain how to add single file.

git add filename.html

Explain how to add multiple files.

git add filename.html filename2.html

Explain how to add all files.

git add .

Check Status Again

git status
# On branch master
#
# Initial commit
#
# Changes to be committed:
#   (use "git rm --cached <file>..." to unstage)
#
#	new file:   filename.html
#	new file:   filename2.html
Explain response from Git.