Allow configuration of branch for detached heads.