I want to store a password repository database (Keepass) in version control. The reason being- this ensures automatic backups, centralizes location and also removes all inconsistencies of storing the file in a network shared drive etc.
However, by doing so, I lose the ability to change the master password for the password database, as a password to the new pwd db, would be affected only on the latest version and anyone who has the previous password can still go the previous versions of this db and get most of the other passwords which would still be valid.
So, is there a way that I can stop everyone else to read the previous versions? In other words, only the latest version of the file should be visible (or) accessible to read/checkout etc.?