title: Git allows for branch change with unstaged changes
body: <p>Git is allowing me to change branches when I have changes not staged for commit (modified files).</p>
  
  <p>Is there a configuration for this somewhere?</p>
  
  <p>Edit: At first I thought this was a configuration that I needed to set to disallow changing between branches if there are modified unstaged files.  But by Emily's comment, it appears that you're prompted if the files differ between branches, and not prompted otherwise.</p>