I'm new to git. I can hide several files or folders by adding their names or extensions onto the .gitignore file.
However, other people might see what files/folders I have ignored. I don't know is there a way or setting to make "only you can see the .gitignore file" on Github without making the repository private.
Is there any way to hide .gitignore file from other people but myself (or repo collaborator) ?