I really don't know how this started but for some strange reason I can only do a commit when I connect to my server via ssh (using putty). This all worked fine before.
I am using ubuntu 2.6.28-16-server
I think this all started after a few updates :(