Shortens branch name in prompt