1. To register a GitHub account first, Https://github.com/github
Download a Sourcetree
2. After logging in to GitHub, create a new project
3. Complete the project name and introduction
4. Copying
5. Create a new folder to the computer D drive Gitproject and create a new warehouse to Sourcetree
Click Clone
6. Add a project that you want to upload to GitHub in the Gitproject folder and then see the new item in Sourcetree
7. Click the file that is not staged and the file will become a staged file
8. Click Submit information, enter the information and click Submit (You can not enter the other places to write a copy and paste it in first)
9. After submission, GitHub is still not visible, because it has to be pushed.
10. Enter the user name, password
11. Always enter the password,
Click Warehouse-Project Settings-click Warehouse Path-edit-managed path Select github-url/Path before github add username @
Are you sure
12. Click Push again, this page will show that the push is successful.
13. You can also see on GitHub
14. Try it more if you don't succeed. In particular, the managed type, it is GitHub's also need to click again.
Uploading items to GitHub