title: Capistrano deploy from Git HTTP repo
body: <p>Has anyone experience with Capistrano deployment from a Git repository over HTTP?</p>
  
  <p>The following <em>deploy.rb</em> is not working:</p>
  
  <pre><code>set :repository,  'http://git.repository-domain.com:4442/git/repo.git'
  set :scm_username, "git_username"
  set :scm_password, "git_password"
  set :scm, :git
  </code></pre>
  
  <p>It is working if you pass a repository in as following though:</p>
  
  <pre><code>set :repository,  'http://git_username:git_password@git.repository-domain.com:4442/git/repo.git'
  </code></pre>
  
  <p>The latter only works as long as either the username or password have no special chars. URL-encoding those chars will result in a failure.</p>
  
  <p><strong>UPDATE</strong>: a more precise description of the problem is available in the ticket at <a href="https://github.com/capistrano/capistrano/issues/384" rel="noreferrer">https://github.com/capistrano/capistrano/issues/384</a></p>