This line of /configApplication.cfm can't be added to the .gitignore because when the application actually gets deployed over .git we would want that file to be committed.  Instead you can prevent your local .git repository from every adding it, but including in:

/Slatwall/.git/info/exclude 

If you don't have an exclude file, then you can add one.

Instead add it to your local