Limit length of long branch name

I wished to limit the length of the branch name (in the prompt) for branches with very long (verbose) names.  I arbitrarily chose the default to be 20 characters because it seemed to show enough of the branch name when using a Git-Flow like convention, with a JIRA id:  "feature/ABC-123-name...".