How to fix Recorded preimage for 'file.txt' but resolution failed in Git | DevErrors