Ok figured out what the problem was, just invert the arguments of remote add, and it will work
git remote add upstream https://github.com/moodle/moodle.git
Ok figured out what the problem was, just invert the arguments of remote add, and it will work
git remote add upstream https://github.com/moodle/moodle.git