Fixed bug with git backend

fetch explicitely the remote HEAD when no branch is specified
(I was under the misconception that FETCH_HEAD was the remote HEAD, while it
is just the first alphabetical element of .git/FETCH_HEADS, which could get
you on a random branch. ugh.)