Transfer clone_repo function to the utils module