Delete tracked files in directory:
git ls-files -z | xargs -0 rm -rf
Delete a file from history of a branch:
git filter-branch --index-filter "git rm --cached -f --ignore-unmatch <path/filename>"
See log with files changed:
git log --name-status
Delete remote branch: