invokes the sparse checkout if a rootfolder is set
allows for -f 0 to be done in order to reset the repo