git rm --cached ファイル名
git rm ファイル名
でリモートリポジトリから削除。
Register as a new user and use Qiita more conveniently