class Raykit::Git::Repository

def clone(directory,depth=0)

Clone the repository to a specific directory
def clone(directory,depth=0)
    if(depth == 0)
        PROJECT.run("git clone #{@url} #{directory}") 
    else
        PROJECT.run("git clone #{@url} #{directory} --depth #{depth}")
    end
end