add documentation about detached head
update doc.go