I don't think this is just a problem with refactoring. This is a problem in general, too many developers code for days, if not weeks, without pushing something to source control.

I'm not saying write one line, push, write a line, push but in all honesty it doesn't really matter if you do that so why wait so long which just eventually causes integration issues.