When we are working on a group project with our teammates, usually we need to complete our own part of task and upload to GitHub, but what exactly should we do?
1 . Use "git clone" to clone the files.
2. Use "git status"
We can see now we are in origin/master branch.
3. Create a new branch.
git checkout -b "zequn-test"
4. Use "git status"
We can see we are now in branch zequn-test.
5. We can change our files and use git status.
We can see what we changes on our files.
6. "git add", "git status" and "git commit"
7. Set branch.
git branch --set-upstream-to origin/master
8. "git status" to check.
We should see
On branch zequn-test Your branch is ahead of 'origin/master' by 1 commit.
9. Push our files.
git push origin HEAD:zequn-test