How to fix “broken” repo with bad remote fetchref
If git has a bad fetchref configured for a remote — “bad” meaning that the ref does not exist on the remote — the remote becomes “broken” and no operations with it will work.
If git has a bad fetchref configured for a remote — “bad” meaning that the ref does not exist on the remote — the remote becomes “broken” and no operations with it will work.