github untrack files

C++
git rm -r --cached .
Source

Also in C++: