Purge sensitive files from git repository Secure process Ask everyone to commit theirs changes and to remove their repository git clone <repo> /tmp/repo cd /tmp/repo && purge <pattern> Ask everyone to clone the repository The pattern can be '*password.txt' 'config/*.txt'