git создает файл .gitignore и использует

NoSuchKey

рекомендация

отblog.csdn.net/frighting_ing/article/details/129223754