Ignore config.json

git add config.json
git commit
git push
git update-index --assume-unchanged config.json

Update config.json

git update-index --no-assume-unchanged config.json
git commit -a
git update-index --assume-unchanged config.json