Git - Project file uploaded despite selecting Ignore

My project file is uploaded to Git each time I ‘Commit and push’ my changes from Katalon to Git. This is occurring despite me choosing to ‘ignore’ the project file. Is there any way to stop the project file from uploading?

What is the file name of “My project file” exactly? — .project? myprojectname.prj? Project? or My Project?

And please show your .gitignore file.

this is what ‘push’ is supposed to do. whatever you committed, will be pushed (uploaded) even if you ignore certain files from committing.

if your commit is empty, will be an empty’ push