Comment Commit Often (Score 2) 765
I think the real question is - why was he working with a local repository / local changes for three months? You commit often so this does not happen.
Computers can figure out all kinds of problems, except the things in the world that just don't add up.