gitignore config and automatically copy from the sample if it doesn't exist