I found several answers on commit/push topic here in stackoverflow. However, these answers are about the difference between committing and pushing in which I'm not interested.
My question is, why do we need local commit and then push this in repository? Why isn't commit remote like in svn?
I only have problems with that. I commit something, and after two hours I want to push but get errors because someone else has also changed that file. If that commit was remote, I would not have these problems, so I really don't the benefits. :)