### Problem `cargo build` throws `fatal: couldn't find remote ref HEAD` on an normal repo. for more details please take a look at https://github.com/starcoinorg/starcoin/issues/3508 ### Steps this is difficult to reproduce intentionally ### Possible Solution(s) _No response_ ### Notes _No response_ ### Version _No response_