updated git intercepter, rough logic to check if the remote branch has the commit after a push