Another common workaround if available is to use git clone with Http(s) URIs instead of a SSH connexion, which is often possible with GitHub/Gitlab repos. You may ask to or configure your git server to be able to do so.
git clone