기능 하나 당 하나의 branch 만들면 관리하기 편함

git status : 상태 확인

작업 중이면 커밋하고 넘어가서 깨끗한 상태에서 해야 함
git checkout -b test : 체크아웃 하면서 가지 생성
git branch test : test 가지 생성
git branch : 내역 확인
git checkout test : test 가지로 이동
이동할 때 커밋하고 이동해야 함!

git merge test : 병합하기(master에서 뜸)
master 환경에서 해야 함
이후 add > commit > push

Share article