Remove files from repository index and local filesystem.

# To remove file from repository index and filesystem:
git rm <file>

# To remove directory:
git rm -r <directory>

# To remove file from repository index but keep it untouched locally:
git rm --cached <file>