# File icon-artist/gitrepo.rb, line 31
    def self.clone(repository,name)
      working_dir = File.expand_path(name)
      if system("git clone #{repository} #{working_dir}")
        options = {:working_dir => working_dir}
        git = self.new(options)
        git.update_branches
        git
      end
    end