def add(file)
      @file = file
      FileUtils.cp_r(file.path,folder_path)
      unless system("cd #{repo_path};git add .")
        raise GitCloud::GitException.new("Add")
      end
    end
def add(file)
      @file = file
      FileUtils.cp_r(file.path,folder_path)
      unless system("cd #{repo_path};git add .")
        raise GitCloud::GitException.new("Add")
      end
    end
Private: copies the file_path contents to the repo and git-adds it

 file - the file path String

 Raises GitException if it fails to add