title: Split a git branch or commit by file type
body: <p>I have a branch containing html and javascript code. For cross cutting reasons, I need to submit a mass change to html first then at a later date the js. At moment I have a single branch with both kinds of changes into it.</p>
  
  <p>How can I sort the commit into two smaller commits (or branches) by file type?</p>