git init //this initializes a .git repository in your working directory
git remote add origin <URL_TO_YOUR_REPO.git> // this points to correct repository where files will be uploaded
git add * // this adds all the files to the initialialized git repository
如果您在将文件合并到主文件之前对其进行了任何更改,则必须通过执行提交更改
git commit -m "applied some changes to the branch"