how to untrack a currently tracked file in git code example
Example 1: git ignore still tracking
git rm --cached <file>
git rm -r --cached <folder>
Example 2: github untrack files
git rm -r --cached .
git rm --cached <file>
git rm -r --cached <folder>
git rm -r --cached .