title: Git - Merging changes from one feature branch into another between developers
body: <p>In general, our code is quite modular so developers are not making changes to the same files at the same time. But, I have run into a situation and I see two ways to solve it, so I'm looking for opinions on which is the best way and why (or additional solutions). My coworker made changes to some files in his feature branch which I would like to use in my feature branch. These are separate features, not a shared feature branch. I see two solutions: </p>
  
  <p>1) He can merge his feature branch into develop and push to the origin. I can then pull the develop branch and rebase my feature branch onto it locally.</p>
  
  <p>2) I can merge his feature branch directly into mine.</p>
  
  <p>I don't really like the latter because it just seems off; merging a feature branch into a feature branch directly when the two features themselves don't relate, just a couple of the dependencies do. So, I went with the former, but for future reference I am curious how others would handle this situation.</p>