Add detach command, check remote changes.