fatal: Not a git repository (or any of the parent directories): .git

$ git remote add origin https://github.com/heyuanchao/YouxibiClient.git
fatal: Not a git repository (or any of the parent directories): .git

解决方法:

git init

原文地址:https://www.cnblogs.com/jackiehe/p/4365125.html