clone: support atomic operation with --separate-git-dir