title: Commit only part of a file in Git
body: <p>When I make changes to a file in Git, how can I commit only some of the changes?</p>
  
  <p>For example, how could I commit only 15 lines out of 30 lines that have been changed in a file?</p>