Remove file from git repository
python
git rm --cached filepath
Remove file from git repository
git rm --cached filepath