remove sensitive files from GIT

sometimes you need to remove a file from GIT. when it contains sensitive datas like passwords, it needs to be removed from the GIT history to:

this commands helped me to do this:

git filter-branch --force --index-filter "git rm --cached -f -r --ignore-unmatch Source/accounts.csv" --tag-name-filter cat -- --all
git push --force