Detect when repo is ahead of remote