I have cloned a repository and the master branch in my repo is tracking origin/master. I created a work branch and changed some config
master
origin/master
work
If you want to prevent committing (therefore also pushing) these local config files, you could use git update-index --assume-unchanged. Files marked with this flag will be assumed to never change (until you reset the flag with --no-assume-unchanged)