> For the complete documentation index, see [llms.txt](https://k-developer.gitbook.io/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://k-developer.gitbook.io/dev/git/git.md).

# Git 기초 명령어

### Git 저장소 초기화 (git init)

```bash
git init
```

명령어 실행시 .git 폴더가 생성된다.

### Git으로 관리하는 파일 상태확인 (git status)

```
git status
```

### 파일 추적하기 (git add)

```
git add filename
```

명령어를 실행하면 깃이 추적하는 파일이 된다.

### 버전 생성하기 (git commit)

```
git commit
```

### 버전 로그보기(git log)

```
git log
```
