checking for changes needs to additionally check for already-committed changes that have not yet been pushed