Issue 4 : git using HEAD remote ref

This time, on the right branch, sorry for the noise