integration: adds function to clone a given repository