git add 명령어를 이용해 변경사항을 스테이징 영역에 저장합니다.git commit 명령어를 이용해 기록을 남깁니다.git push 명령어를 통해 Github와 같은 원격 저장소에 업로드 됩니다.git initgit addgit add .: 모든 변경 사항을 올린다.git add app.js: app.js 변경사항만 올린다.git commitgit commit -m "feat: Add app.js" 를 실행하면, app.js파일에 대한 업데이트 내용을 커밋 메시지에 담게됩니다.git remote addgit remote add <name> <url> 명령어로 Local Repository 에 <name>이라는 이름의 Remote Repository 를 추가할 수 있습니다.<url> 에는 Remote repository의 주소를 의미합니다.
→ ex) git remote add origin https://github.com/foo/bar
origin 이라는 이름의 https://github.com/foo/bar 저장소를 연결합니다.
git push**git clone****yarn****git pull**yarncheckout 입니다. checkout 명령어를 이용하면 특정 커밋, 즉 특정 시점의 코드 상태로 쉽게 되돌릴 수 있게 되는것이죠.