On windows it treats .gitignore patterns as case-sensitive which differs from how git itself behaves.