How to fix warning: unable to access global gitignore file in Git | DevErrors