Before proceeding, make sure all your changes are committed, including your .gitignore file.
To clear your repo, use:
git rm -r --cached .
rm is the remove command
-r will allow recursive removal
--cached will only remove files from the index. Your files will still be there.