title: Git: Copy source code to new branch without history
body: <p>I have 2 branches in git repository: <code>common</code> and <code>myown</code>.</p>
  
  <p>I want to copy the source from one branch to another branch but I want to see in history of <code>common</code> branch only commits related to feature migration (from <code>myown</code> to <code>common</code>).</p>
  
  <p>Is it possible to copy the source without the history or is a new repository required?</p>
  
  <p>In addition it can be necessary to merge from <code>common</code> to <code>myown</code> and after some changes copy source back as new commit (and only as that commit - without history of all other commits as I said previously).</p>