index
windows

windows 이신 분들은 git bash로 수행해주시면 checkout된 branch를 볼 수 있습니다 (+ vscode terminal에서 git bash로 보고싶다면, 다음과 같은 검색 결과를 참고하여 설정해주세요🙇🏻♀️ )
mac

많은 방법들이 있지만 저 같은 경우는 터미널 shell을 zsh로 변경해보겠습니다.
다음과 같이 설정해주세요🙇🏻♀️
git clone {Github repository URL}
git clone {Github repository URL} 수행하면
remote 연결과 함께 main이라는 default branch가 생겨납니다.git push origin main 이라고 입력 해주세요😅생성과 동시에 체크아웃 명령어
git checkout -t 원격저장소에_있는_브랜치명git checkout -b 새로_생성할_로컬_브랜치명명령어