In the docs examples of cloning from github shows /home/user/repo as the path you are meant to clone to.
I had a feeling this was flexible and tried to clone into /home/workspace, but the error I was getting was Git clone requires credentials for private repositories. even when it was a public repo. This is very confusing as the docs don't really explain the fact that you can only clone from after the /home/user path, also the error message doesn't make debugging easy.
The docs could alert users to this and also the SDK could give proper error message when faced with this issue.
If required I can make an Issue on the sdk side too, and also work on a PR fixing this on the docs side, just let me know!