git init
$ git clone <https:.. URL>
$ git clone /로컬/저장소/경로
$ git clone 사용자명@호스트:/원격/저장소/경로
$ git add <파일명> or .
$ git commit -m "커밋 메세지"
$ git commit -am "커밋 메세지"
$ git commit --amend
$ git status
$ git reset
$ git branch
$ git branch <브랜치명>
$git branch -d <브랜치>
$ git checkout <브랜치>
$ git checkout -b <브랜치>
$ git checkout <커밋hash값>
$ git merge <브랜치>
$ git diff <브랜치 이름> <다른 브랜치 이름>
$ git branch --merged
$ git log
$ git log --graph
$ git log -p <-숫자>
$ git log --stat
$ git log --pretty=online
$ git log -S <내용>
$ git checkout --<파일명>
$ git remote add <HEAD명> <주소>
$ git remote remove <HEAD명>
$ git remote -v
$ git push <HEAD명> <브랜치명>
$ git pull <HEAD명> <브랜치명>
$ git fetch
$ git reset --soft HEAD~
$ git rebase <브랜치명>