add - add file or directory to repository
To add a file or directory to a repository, use git add:
$ mkdir test $ echo 'new file' >test/TESTFILE $ git add test $ git status # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # new file: test/TEST ... # modified: README # $