I recently set up a github account to store the source code of a project I have been working on.
I am using egit eclipse plugin to push changes to <
I faced the same problem and I found out solution which is extremely foolish.
I took following steps:
I don't know what and why but above steps have worked for me whenever I have faced above problem. I don't know why does eclipse throw such exceptions and why does it gets solved this way.
You can also try pushing using other ways outside of eclipse. for eg. `TortoiseGit` or `SmartGit` etc.