Every time I push a commit to upstream Git using Eclipse, it keeps counting thousands of objects. This happens even if I just commit a single line change. And it takes about 5-10 minutes.

Why does Eclipse do this? Is there some configuration option I have selected which makes this happen? How could I stop this from happening? This step is not happening for my colleagues who check-in to the same remote repository.
A good workaround for this issue is to select the "Run in background" button. Upon sending the push branch job to the background, the job will finish almost immediately in my experience. It appears that the process of writing the count to the screen is what is slowing down the performance of the job.
Try running an update on eGit, as it looks like it might be a known bug, which has been fixed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=516276
But the update is not yet generally available so you'll need to update to EGit nightly http://download.eclipse.org/egit/updates-nightly/ or just run pushes in the background for now, per the advice at the end of this page: https://www.eclipse.org/forums/index.php/t/1085518/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With