how to remove files that git is tracking code example
Example 1: remove file from git tracking
git rm --cached <file_name>
Example 2: git ignore still tracking
git rm --cached <file>
git rm -r --cached <folder>
git rm --cached <file_name>
git rm --cached <file>
git rm -r --cached <folder>