Cursorignore and gitignore

How does it work between cursorignore and gitignore in the current latest version? Do files that are in gitignore, but not in cursorignore, get indexed by cursor? This question seems to have been rather vague and I haven’t found any discussion on it