Update .gitignore.
Remove components dir from git index.
Remove build dir from git index.