Git is a distributed version control system.
Git is free software.
运行git status命令查看结果
$ git status
# On branch master# Changes not staged for commit:# (use "git add <file>..." to update what will be committed)# (use "git checkout -- <file>..." to discard changes in working directory)## modified: readme.txt#
no changes added to commit (use "git add" and/or "git commit -a")
可以使用git diff这个命令来看看更改的地方(difference)
$ git diff readme.txt
diff --git a/readme.txt b/readme.txt
index 46d49bf..9247db6 100644
--- a/readme.txt+++ b/readme.txt@@ -1,2 +1,2 @@-Git is a version control system.+Git is a distributed version control system.
Git is free software.