I have some important files that were deleted while resolving git conflicts and doing git merges. When I say deleted, I mean that they still exist in an earlier commit, but their changes were overwritten in later commits. The picture below is a visualization of my git repo, courtesy of SourceTree.
The files that I want to keep were deleted upon the git commit circled in RED. The commits that contain the deleted files are in the middle PINK-colored branch (between the blue and green circles), and the commit circled in GREEN is when the branch outlined in pink first merged with the branch in the far left.
Here are the questions that I want to know the answer to:
Why did those files as added in the PINK commits get deleted at the commit circled in RED?
How do I get those files and changes back, from the commit just below the commit circled in RED?