I am new to Git and need help understanding Git history graphs, i.e. the relationship between commits and merges as they are displayed on the graph in tools like SmartGit or GitGui. In the image below, what is the relationship between the commits in red, specifically "IA-481" and "Merge branch IA-481(Release2)...." I am mainly asking because "IA-481" was intended to go in a branch called "IA-481(Release2), not in Master.
So here is a little more detail:
- I originally checked in my files in a branch called "IA-481(Release)".
- I then switched to Master, called merge from the Master Branch to merge the files from "IA-481(Release)" with Master. I made a few more changes but realized it was too soon to commit to Master, so I didn't commit to Master.
- Instead, I created and switched to another new branch called "IA-481(Release2) and I committed the merged files to that second new branch (not to Master).
- Someone else switched to the IA-481(Release2) branch to check out my work, and made some check-ins.
Later we find out that the IA-481 commit I originally made to the "IA-481(Release2)" branch somehow wound up in the Master Branch. and I'm trying to figure out how it got there. Was it the commit called "Merge branch IA-481(Release2)" made by that other person that merged it with Master, or was it already in Master with my IA-481 check-in. At which commit did things go wrong?