make gitignore and remove fules code example
Example 1: git ignore still tracking
git rm --cached <file>
git rm -r --cached <folder>
Example 2: git remove file from gitignore
git rm --cached <file>
git rm --cached <file>
git rm -r --cached <folder>
git rm --cached <file>