I move back to master branch. Git stores M as branchX:sourcefile.c
Git checks out the file, and stamps it with N. I do a make. No
recompilation happens.
Are you not describing a situation where git would modify a file
("move back to branchX"), and no recompilation happens (whereas it
should)?
--
Matthieu