Why is Git ignoring this file?

Use git check-ignore to find the exact ignore file, line number, and pattern when Git unexpectedly ignores a file or directory.