fatal: not a git repository (or any of the parent directories): .git 해당 오류는 현재 폴더에 git에 대한 정보를 담은 파일이 없기 때문에 발생하는 오류이다. git init을 통해 .git 폴더를 생성해주고 다시 git remote add 명령어를 실행시켜주면 간단히 해결된다.
Github
github에서 레파지토리를 새로 생성하고 첫 push를 하려는 순간 ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'https://github.com/ / .git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help..