If you receive this error message when tryinf to push / pull / clone, chances are the remote repository is private.
In order to overcome this, use the following command;
In the code above:
-b means clone from the branch named 'dev'
. at the end means extract the folder contents