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