【ローカルレポジトリー】
git init
git add (git add . で全てをadd)
git commit -m "brief messages"
【リモートレポジトリー】
git remote add origin URL(ただし、githubはトークンを使用するため以下のコマンドを使用)
$ git remote add origin https://<トークン>@github.com/<ユーザ>/<リポジトリ>.git
($ git remote remove origin 現在のOriginを削除可能)