output warning if already on correct branch