Version control encrypted vault state

i’m wondering if it’s fine to put the encrypted file structure of a vault under version control w/ git, or do you anticipate any integrity problems when doing this?

my goal for doing version control on the encrypted files is to have snapshots of the vault state that i can go back to in case any type of vault corruption occurs. i’m aware that the history/diffs itself are not going be readable beyond the commit messages.