Some platforms (like bitbucket) issue authentication tokens containing /
. This will break the current logic. The solution is to always url encode all tokens before using them in git clone
.
https://stackoverflow.com/questions/57732289/how-can-i-git-clone-over-https-with-a-personal-access-token-containing