title: SourceTree not using git-ref-format branch name when pushing - is my workaround correct? Is there a better way?
body: <p>So I appear to be experiencing something similar to this known bug:  <a href="https://jira.atlassian.com/browse/SRCTREEWIN-8304" rel="nofollow noreferrer">https://jira.atlassian.com/browse/SRCTREEWIN-8304</a></p>
  
  <p>It's not exactly the same bug apparently, the symptoms are almost identical, but it doesn't happen when creating a stash, but when pushing to a remote repo, in this case BitBucket.</p>
  
  <p>Now, I'm not terribly well-versed in DVCS stuff, but here's what's happening for me, and my hacky fix that I hope won't bite me in the ass later:</p>
  
  <p>When I press the button to push a commit, I see this dialog, note the overly long branch names:</p>
  
  <p><a href="https://i.stack.imgur.com/FHao8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FHao8.png" alt="Push Dialog with Bad Branch Names"></a></p>
  
  <p>When I hit Push on that dialog, I see this:</p>
  
  <p><a href="https://i.stack.imgur.com/3NwTY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3NwTY.png" alt="Error Message when Pushing"></a></p>
  
  <p>Then I can go back to the Push dialog and change the branch names like so:</p>
  
  <p><a href="https://i.stack.imgur.com/lJ0TZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lJ0TZ.png" alt="Push Dialog with Fixed Branch Names"></a></p>
  
  <p>Then when I hit push, I get this success message:</p>
  
  <p><a href="https://i.stack.imgur.com/IGw41.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IGw41.png" alt="Push Success Message"></a></p>
  
  <p>So that all LOOKS great, but I want to know if my fix is a good one.  If I accidentally add a typo into one of the branch names, will it break my repo?  Is there a better way to deal with this issue?  Am I creating problems for myself down the line?</p>