function branchize() {
  echo "$@" | tr ' ' '-' | tr '[A-Z]' '[a-z]' | tr '[' '-' | tr ']' '-' | tr '#' '-' | sed -e 's/--/-/g' | sed -e 's/--/-/g'
}

function branchize() {
  echo "$@" | tr '[A-Z]' '[a-z]' | sed -e 's/[^a-z0-9]/-/g' | sed -e 's/--/-/g' | sed -e 's/--/-/g'
}

Use universal replacement for non-alphanumerics
Use universal replacement for non-alphanumerics
