fix git pull

due to a bug in the git gem

https://github.com/schacon/ruby-git/issues/32

pull does not work. I've implemented a work around described on that
issue entry.