How to fix warning: no refs match pattern in Git | DevErrors