I don't know, for me it was working on something i found inspiring ... versioning and all the other things are cool and maybe helped boosting it. But in the end the most productive things were focus and a honest interest/curiosity regarding the task/application.
Oh and the thing that really helps me is .... the internet .... :D