A .gitignore file lists files Git should never track: dependencies, build output, and above all passwords and API keys.
# .gitignore node_modules/ build/ .env *.log