Fix git methods

Remove remaining mentions of 'github' and remove a duplicate method.