fatal: 'origin' does not appear to be a git repository

C++
git remote add origin URL_TO_YOUR_REPOfatal: 'origin' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Source

Also in C++: