Add first file
- index
- staging area
- cache
- add
Add the file(s) to the index (or staging area, or cache) and check the status again.
$ git add README.txt
$ git status
# On branch master
#
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: README.txt
#