よく知られていることかもしれませんが,自分への備忘録として書いておきます. GitHub (アカウント hoge) でリポジトリ ("abc") 作成: hoge/abc GitHub で以下のように提示されるとおり echo "# abc" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/hobe/abc.git git push -u origin master git push すると $ git push origin master remote: Permission to hoge/abc.git denied to fuga. fatal: unable to access 'https://github.