- Setup git-filter-repo from https://github.com/newren/git-filter-repo
- Setup replace file with strings to replace and place it to your project root package: replaces.txt
password_1==>0001
password_2==>0002
password_3==>0003
- Replce your strings locally by do this command in your project path: git filter-repo --replace-text replaces.txt --force