Determine Whether .gitignore is Ignoring a File