1. 깃헙에서 새로운 repository를 생성한다. (readme 파일은 당장 생성하지 않고 추후에 추가한다.)
2. repository의 url을 복사한다. (ex- https://github.com/깃헙아이디/repository이름.git)
3. cmd를 실행해서 로컬 저장소 위치로 이동한다. (연결할 프로젝트 폴더)
4. git init 명령 실행
5. git remote add origin repository주소 명령 실행
6. git add . 명령 실행
7. git commit -m "first commit" 명령 실행
8. git push origin master 명령 실행
9. 깃헙 repository에 들어가 보면 로컬 프로젝트가 반영됐는지 확인
if -> 이미 존재하는 repository를 새로운 로컬 환경에 끌어와서 개발을 할 경우
6. git pull <remotename> <branchname> (ex- git pull origin master)
7. 최신 상태를 정상적으로 받았는지 폴더 확인