How to fix warning: Log for 'HEAD' only has 5 entries in Git | DevErrors