def to_s
      if user
        "#{user}@#{host}:#{path[1..-1]}"
      else
        "#{host}:#{path[1..-1]}"
      end
    end
Convert the URI to a String

Addressible::URI forces path to be absolute by prepending a '/' to the
path. This method removes the '/' when converting back to a string
since that is what is expected by git. The following is a valid git URL:

`james@github.com:ruby-git/ruby-git.git`

and the following (with the initial '/'' in the path) is NOT a valid git URL:

`james@github.com:/ruby-git/ruby-git.git`

@example
uri = Git::GitAltURI.new(user: 'james', host: 'github.com', path: 'james/ruby-git')
uri.path #=> '/james/ruby-git'
uri.to_s #=> 'james@github.com:james/ruby-git'

@return [String] the URI as a String