<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clonerepo(barerepo, userrepo):
 """ Clone a bare base repo to a user """


    git.clone(barerepo, userrepo)
    ag = activegit.ActiveGit(userrepo)