title: git: rename file and change the content of the file
body: <p>I have a question about renaming files in git.</p>
  
  <p>I want to rename a file. So I rename it. As far as i understand if I don't change the content of the file git will detect the move because the hash of the file is the same.</p>
  
  <p>I'm using C++, so after the rename I have to change the include path in the file (which I have renamed), so the problem is that git does not detect the move, but instead thinks that one file was deleted and the other added. I'm looking for an solution where git detects this change.</p>
  
  <p>Does anybody has a good strategy for that?</p>
  
  <p>Thanks in advance<br>
  Tonka</p>