Git backend: explicit FETCH_HEAD as a head

Attempting to fix #1622