My hard drive failed. No backups. (I know. I know.) Managed to clone the drive and recover most lost data. However, files and directories which were prefixed with dot (or blob) are now without their dot. So I have a visible directory called git with files (COMMIT_EDITMSG, config, description, HEAD and index) and directories (branches, hooks, info, logs, objects and refs). The objects directory has directories (eg. 00, 0a, 0b, etc.) and they each have files with SHA1 hash filenames. The git/objects/pack directory is empty. So from what I can tell... the data is there. I'm hoping I just need to rename the directory(ies) and filename(s) and maybe it'll all work again. Or is this wishful thinking?
Perhaps I should have added I'm using a Mac.