Change Git Master Remote

Quickly change your remote origin of a git repo. This can come in handy if you have you have forked a repo and want to point your master to the updated fork origin. Steps $ git config master.remote origin $ git config master.merge refs/heads/master $ git push -u origin master