Also switch branches if repo is uptodate