I suggest turn config.js to config.json.example (or something similar) and add config.json to .gitignore.
Configuration files are always altered and editing them causes git to suggest them for commit.
Also json format is supported in require since 0.6 version