Add gitignore syntax. Update gitignore with a pid/ directory.