fatal: not a git repository (or any of the parent directories): .git -> 같은 폴더내에 .git 파일이 없다는 말. git init 으로 설치해주면 된다.
error: failed to push some refs to 'https://github.com/~~~' -> 로컬과 원격저장소의 상태가 다르기 때문임. git pull 먼저하고, push하면 된다.