connect react app to github repo code example Example: create react app github repo $ git remote add origin https://github.com/gitname/react-gh-pages.git