Missing reflog in bare clone restores causing ambiguous checkout outcomes
When a repository is restored from a backup by copying its .git directory, the reflog files are omitted, resulting in loss of chronological reference history. The precise goal is to ensure that restored bare clones retain reflog entries so that `git checkout` and history verification behave as in the original repository, while backup tools that exclude .git/