I\'ve a repository moodle on my Github account which I forked from the official repository.
moodle
forked
I then cloned it on my local machine. It worked
Try to create remote origin first, maybe is missing because you change name of the remote repo
git remote add origin URL_TO_YOUR_REPO