Fixed an issue with caused push to generate an exponential amount of network requests.
Prevent duplicate commits from being processed in push and fetch.
Merge remote-tracking branch 'origin/pr/347'