Also wasted whole day trying to get this work.
Just stucked with updating 100%
At the end it was the mysgit 1.6.5.1 what made it work. Also if that does not work try in remote linux the command
git config --bool core.bare true
when inside your repo folder