When we change the branch, we don't need to clone all repo.