title: Git copy file preserving history
body: <p>I have a somewhat confusing question in Git.
  Lets say, I have a file <code>dir1/A.txt</code> committed and git preserves a history of commits</p>
  <p>Now I need to copy the file into <code>dir2/A.txt</code> (not move, but copy).
  I know that there is a <code>git mv</code> command but I need <code>dir2/A.txt</code> to have the same history of commits as <code>dir1/A.txt</code>, and <code>dir1/A.txt</code> to still remain there.</p>
  <p>I'm not planning to update <code>A.txt</code> once the copy is created and all the future work will be done on <code>dir2/A.txt</code></p>
  <p>I know it sounds confusing, I'll add that this situation is on java based module (mavenized project) and we need to create a new version of code so that our customers will have the ability to have 2 different versions in runtime, the first version will be removed eventually when the alignment will be done.
  We can use maven versioning of course, I'm just newbie to Git and curious about what Git can provide here.</p>