- Rename to a corresponding backup file If the backup file already exists, attempt with "01" .. "99" suffix. - git ignore indexed backup files too