[fix] warning and exit while not with .git
Merge branch 'hotfix/not-gitrepo'