Git: Remove Non Project Files from Repository
A quick tip that I always seem to forget, if you need to quickly remove any non project files form a repo, check this Stack Overflow answer out:
In short, I think I used this in the end:
git clean -df
Which removed and deleted any files not in the git index.