본문 바로가기

Tools/Git, Github

Windows 11 Git Setup

Git 설치

https://git-scm.com/download/win

 

Git - Downloading Package

Download for Windows Click here to download the latest (2.44.0) 32-bit version of Git for Windows. This is the most recent maintained build. It was released about 2 months ago, on 2024-02-23. Other Git for Windows downloads Standalone Installer 32-bit Git

git-scm.com

위 링크에 들어가서 가장 위쪽에 표시되어 있는 'Click here to download'를 눌러서 설치 패키지를 다운로드 받는다. (아래 그림 참고)

 

다운로드 받은 .exe 실행 파일을 클릭하여 설치를 시작한다.

 

옵션 중 Git bash profile을 windows terminal에 추가할 것인지를 선택할 수 있는데, 일단 추가해두어서 나쁠 건 없어보여서 추가로 선택하였다.

 

editor는 특별히 선호하는 건 없어서 vim으로 그대로 두었다. branch에 관한 것은 요즘 github에서 branch의 default 이름을 main으로 하길래, 그것을 따라서 main으로 해주었다.

 

나머지 옵션은 크게 상관이 없어 보여서 default로 추천해주는 것을 체크하고 넘어갔다.

 

이제 실행 중이던 Windows shell을 껐다가 다시 실행하면 git 커맨드를 입력할 수 있다.