truncate default branch names if too long