title: How to commit specific changes in git
body: <p>I renamed a interface (IMoo to IKey) and a class file (Moo to Key). After that I created a method (blob()) in the class file and created the implementation in the interface. How can I commit these two changes seperatly in git?</p>
  
  <p>So that the first commit only contains the renaming changes and the second commit contains the method and the implementation in the interface.</p>