To create a repository,steps:

to use init in bash or cmd:

git init <directory>(optional,details are in following website)

then can find .git(which is a hidden file in the repository(shared folder))

next,

change directory into it:cd F: cd ......

create file in bash:

touch README

vi README

to write content then press ESC : ,q!(discard) or x(save current content then exit)

http://www.cnblogs.com/88999660/articles/1581524.html