How to fix fatal: circular reference detected in symbolic ref in Git | DevErrors