Extracted from #6551 Similar to what we show in the Merge Branch dialog: <img width="307" src="https://user-images.githubusercontent.com/359239/53506317-1db8e600-3a8c-11e9-880d-48758bc99a0c.png">