git-learn Description of commands. git init: initialize an empty git repository. git clone: clone the repository. git add : add the file. git commit -m "msg": commit a message about the current change.