Fixed an issue with caused push to generate an exponential amount of network requests.
Prevent duplicate commits from being processed in push and fetch.