check which gitignore ignores your file

Developer from somewhere

git check-ignore -v path