title: how to copy and replace some project files in a branch only in git
body: <p>I have created a new project repository in bitBucket and I have the local copy also. Now, I have created a branch from master called "xyz". </p>
  
  <p>Before I had created another project repository and me and my team member worked on this repository. I was working on master repository and one of my team member has checkout it (I as admin has added him in bitBucket) locally and continued working locally. After that he sent me the complete project folder.  </p>
  
  <p>No as mentioned above due to many conflict problems, I created another new repository in bitBucket and put the files and folders from the master in my old repository into it. Now I have created a branch in the new repository and I would like to put the files and folders (many files and folder will be redundant and I would like to replace all of these redundant files and folders into this branch "xyz"), my team member sent into this branch only ("xyz").</p>
  
  <p>Could anyone please help me with this problem. I don't know how to do it locally in git and then to push it into the specific branch at remote.</p>