Adds global gitignore and associated setup script.