Summary:
I have created a repository on GitHub, then I push my code to the repository git push --set-upstream http://XXXXXXXXX  master, it works!
Here is the master branch:

When I use another laptop pull it into local, git clone http://XXXXXXX it works, but the only main branch, not master branch, I don't know why.
Here is the main branch, actually I pull this branch to local:
 
    