Test update-index for a gitlink to a .git file