The problem is not spaces.
I think the file is already being tracked in your git repository, so you can remove it from the repo using the following:
git rm -r --cached "COM/config/Config/Edit Project Settings.lnk" git commit -m "removed .lnk"
This will not delete the .lnk file, but it should not be checked locally (although it will be deleted on other people's computers after this commit is directed up)
source share