git is a version control system. study git. add something,and check the log has changed. vi is hard to use. thy it again.
study-git