C:\Users>git config user.name abcd1224
fatal: not in a git directory
fatal: not in a git directory
원인 : git repository로 사용하기 위한 초기화 작업이 진행되지 않아 발생하는 오류
해결 방법 : 해당 디렉토리에 .git 폴더가 있는지 여부를 확인하고 없을 경우
git init 명령어로 초기화 및 기본 설정 폴더인 .git 디렉토리를 생성
C:\Users>git init
Initialized empty Git repository in C:/Users/.git/