How to fix error: cannot lock ref during prune in CI in Git | DevErrors