title: Download a GitLab private repository
body: <p>I want to use <code>curl</code> to download my private repo in GitLab. I know I can use the Gitlab API, but for some reason, It doesn't work.</p>
  
  <p>Is this possible? When I try to do it this way, it always returns the login page.</p>