I restored the dotfiles with Time Machine but they changed the type from document to unix file. Why?
Hello. I recently received an update to OneDrive that removed all my files from my computer. OneDrive has changed its file storage algorithms and it no longer suits me. It is very sad. I decided to restore my files, namely projects, through the Time Machine. I restored the OneDrive folder but dotfiles like .gitigore .buckconfig etc. changed their type from document to unix executable file. Why did this happen? It turns out that my files are damaged and different from what they were? Because if I create a new .gitigore file it will be like a document. This is problem?
MacBook Pro 16″, macOS 12.1