github <-> local


pwd
ls
cd ../
cd ~
mkdir dirName
vim a.txt


git init local_git
cd local_git
vim f1.txt
git add f1.xtx
git commit -m "add a"
git log

git remote add origin repo-address
git remote -v #연결확인

git push -u origin master



vim f1.txt
git commit -am "add b"
git push


git pull origin master  #내려받기


---------------
깃허브에 SSH 원격접속


SSH생성
ssh-keygen
enter
enter
enter


ハブに公開鍵を送信


cd ~/.ssh
cat id_rsa.pub
キーのコピー


git addを参照:https://www.daleseo.com/git-add/