title: Move file to another Git repository with history
body: <p>I have one repo. I need to move some files and directories to another repo.
  I managed to extract directory using <code>git filter-branch --subdirectory-filter config/deploy -- --all</code>.</p>
  
  <p>I also need to move file <code>config/deploy.rb</code>.</p>
  
  <p>How to do this?</p>