git untrack modified file 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>
Example 3: git untrack
git rm -r --cached <file>