git init git add git status git commit -a git diff git checkout file git checkout version git checkout master git checkout new-branch