Open
Description
This is a follow up on disabling branching #386.
Even better would be the dialog that Github-desktop pops up in the same situation:
for which we'd also need some kind of autostash API. Shouldn't be too hard, but that's fodder for future PRs. The implementation for #450 is dead simple, and I think is a good first step.
Originally posted by @telamonian in #386 (comment)
An idea to temper the number of dialog prompts would be to build on jupyterlab/jupyterlab#5617