Add documentation about ref/head