"You don't" but many doctors sure seem happy to treat early and to be blind to the potential harm that the treatement entails.
But that doesn't make GitHub a bad idea.
Using an SCM tool isn’t going to cause additional problems except for reminding yourself of all the dumb mistakes you made last week.
You haven't worked at a shop that mandated Team Foundation Server, have you? ;)