cd dir
ls -al
sudo rm -r ./git
git config --global init.defaultBranch main
# 내 깃 정보 입력
git config --global user.name "이름"
git config --global user.email "깃허브이메일"
첫 상태는 로컬 repository 에 아무것도 올라가 있지 않는 상태이며,
이 상태에서 changes 옆에 + 를 누르면 내 repository 에 올리기 위한 stage 에 올라가면서 staged change 로 상태 변경됨
git pull origin main --allow-unrelated-histories
git push -u origin master