how to remove deleted file history on git code example
Example: remove file history from git
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD