title: Clone from a Gitlab community private repo using a private token in Python script
body: <p>I'd like to be able to clone a private git repository hosted on a Gitlab community edition providing my private token.
  I tried using gitpython library and i can do the following :</p>
  
  <pre><code>from os.path import abspath
  from git import Repo
  to_path = abspath("C:\mypath\test")
  Repo.clone_from("http://gitlab-ci-token:my_CI_token@myurl/testgroup/test.git", to_path)
  </code></pre>
  
  <p>This is working and clones the repo nicely.
  The problem is that I want to use my private token and not the CI token of the repository. And this is not working :</p>
  
  <pre><code>Repo.clone_from("http://my_login:my_private_token@myurl/testgroup/test.git", to_path)
  </code></pre>
  
  <p>I even tried to use my password but couldn't get it to work neither.</p>
  
  <p>If i want to use my private token it's because my script tries to clone all the repositories stored in a Gitalb group (here testgroup) and I don't know beforehand repositories that will be there so I can't get their CI token in the script.</p>
  
  <p>I'll take any solution that let me clone a repository with a Login/private_token or a login/password without interactive authentication.</p>