Show all commits if no initial selection in ref list
Add HEAD in refs list if head is detached