title: git-upload-pack not permitted using JGIT
body: <p>My intent here is to use a "Personal Access Token" to be able to clone/pull from this repo (GitLab) in a java application. I just can't figure out how to get around this error.</p>
  
  <p>Here is the code I have.</p>
  
  <pre><code>    String accessToken = conf.getString("accessToken");
  
      String uri = "https://gitlab-ci-token:" + accessToken + "@gitlab.com/dfurrer/cosmotronsBinaries.git";
  
      CredentialsProvider cp = new UsernamePasswordCredentialsProvider("PRIVATE-TOKEN", accessToken);
      git = Git.cloneRepository()
                      .setURI(uri)
                      .setCredentialsProvider(cp)
                      .setRemote("origin")
                      .setBranch("master")
                      .call();
  </code></pre>
  
  <p>I get his exception: </p>
  
  <pre><code>org.eclipse.jgit.api.errors.TransportException: https://gitlab-ci-token@gitlab.com/dfurrer/cosmotronsBinaries.git: git-upload-pack not permitted on 'https://gitlab-ci-token@gitlab.com/dfurrer/cosmotronsBinaries.git/'
  </code></pre>