创建版本库
创建文件夹
$mkdir fileName $cd fileName $pwd
把目录编程git可管理的仓库
$git init
查看所有文件(包括隐藏文件)
$ls -ah
把文件添加到仓库
$git add fileName
提交到仓库
$git commit -m "版本信息"