Framework to smartly mirror git repositories