Datei aus Repo entfernen

  git rm --cached file_to_remove.txt

Verzeichnis

  git rm --cached -r directory_to_remove