Sorry, I do not believe that you can recover from this. (perhaps if you could, it would be a security risk, someone might hide a password in a configuration file or something like that.)
From the documentation ( git fetch --help
): Fetches named heads or tags from one or more other repositories, along with the objects necessary to complete them.
Keyword: named chapters . Unfortunately, the wallet is not a named head (or tag).
source share