We copy the appropriate commit SHA-1
Lastly we come back to our branch using checkout command and use godlike cherry-pick commmand
git cherry-pick <SHA-1>
Voila! we have successfull merged the solution in our branch with some mean observation and three lines of code. Thanks to Kaustuv
Beware of cherry picking more than one commit you might have to solve a lot of uneccessary merge conflicts and it will be an overkill. So be smart.