Adds changed files to the index. More information: https://git-scm.com/docs/git-add.
git add path/to/file
git add -A|--all
git add .
git add -u|--update
git add -f|--force
git add -p|--patch
git add -p|--patch path/to/file
git add -i|--interactive