how to add file in git repository git docs code example Example: git add all files git commit -a -m "msg"