title: Splitting git commit into a few commits
body: <p>I have fixed two bugs in a piece of code, and it modifies common files. For example, bug fix 1 modified file A, B, C, and bug fix 2 modified B, C, and D. I have all changes in one commit. For the purpose of code reviews, I need to split the changes into two commits (two branches actually). </p>
  
  <p>What I am thinking is that from my current branch <code>fix</code>, I create two branches like <code>git branch fix-1 fix</code> and <code>git branch fix-2 fix</code>. Both branches have all changes. Now, in branch <code>fix-1</code>, I would like to keep the changes relevant to fix 1 only, that is, all changes in file A, and parts of changes in files B and C. Is it possible to do it in git? What command is relevant for this?</p>
  
  <p>I know that in <code>git add</code>, I can do interactive add where I can select hunks of code for adding, not just at file level. Is there something similar I can do here? </p>