Once you are at the directory you have all of your writing in you can issue the command git init which initializes a blank "repository" for your directory.
切换到写作目录后,可以用“git init”命令将当前目录初始化为一个空白的仓库。
3
You will see several commands that you can choose, the command is safest to create a password to be blank. Do this by pressing the number ’1 ‘, then press’ y’ to confirm