해당 폴더로 가서 우클릭 후 git bash here 설정
깃 브랜치 메인으로 설정
git config --global init.defaultBranch main
git init
git status
4-1. readme.md 을 pull 먼저 해야함
git remote add origin [repository 주소]
git pull origin main
git add [파일명 or 폴더명]
특정파일 업로드는 add [파일명 or 폴더명]
모든 파일 push하기 위해서는 파일명대신 . 해줌.
git commit -m "[Push 메세지명]"
push시 원하는 메세지를 등록하고 commit 해줌
올릴 깃의 repository주소를 복사
나만의 저장소 주소( https://github.com/이름/저장소.git) 부분 복사
git remote add origin [repository 주소]
git remote -v
git push origin main