title: How to batch remove local branches in SourceTree, which remote equivalents have been already removed in the origin?
body: <p>Sometimes it's desirable to have local branches in SourceTree even when remote equivalents on the origin don't exist but in my case I want to remove all (or specific) local branches in batch.</p>
  
  <p>Right now my <strong>SourceTree</strong> keeps a lot of local <em>"feature"</em> and <em>"bugfix"</em> branches, that were made from remotes ages ago (one branch - one ticket). </p>
  
  <p>I did some work, I pushed and finished working on them. Pull request was merged, branch was closed but I didn't delete my local branch straight away. Local copies exist on my machine and after some time the list grows and grows.</p>
  
  <p>Is there a "one-click / command" solution to get rid of all local branches that don't have equivalents in a remote repo.</p>
  
  <p>Blurred area contains local branches. Let's say I would like to remove all except develop or be able to specify in a batch and then press magic "clean" button. Does SourceTree offer such feature?</p>
  
  <p><a href="https://i.stack.imgur.com/gP2RJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gP2RJ.png" alt="enter image description here"></a></p>