I have a file, a.txt which is part of a repository I cloned. Now, to run the project locally, I need to make changes in a.txt and keep it that way always to run locally. I do not want to commit the changes to a.txt showing up every time I do a git status. One option is that I add this file in .gitignore, but then, the same issue now applies to .gitignore, i.e, I don't want to commit the changes in .gitignore, but it'll keep showing up every time I do git status. Also, if a.txt got changed in remote, I want to be able to fetch it and update my local a.txt after looking at the differences between local and remote copies of a.txt.
How to solve this?