I have a main repository with only a master branch and a personal repository with both a master branch and a dev branch. If I'm doing a pull from the personal/dev branch to the main/master branch, will git keep a record of each individual change that happened in the personal/dev branch (such that, say, temporary code which contained passwords can be found in main/master)? Or will it collapse the personal/dev changes into one merge change (such that temporary code which contained passowords cannot be found in main/master)?
Does the behavior depend upon the host software? FWIW, I'm using Stash.