Allowing agent to read files in .gitignore

Hi,

I have files in .gitignore which I don’t want to commit but I want the agents to access, how do I do this?

Then a follow up question, why does agent care about git rules, they are completely different things. Cursor has its own rules already, why not just use those? Tons of users complaining this same problem online, surely I’m not the only one crazy?