1. Commit code to local repository with IDEA:

  2. Push code to remote repository with IDEA:

    1. PS: At this step, note that if it is the first time to push content to the remote warehouse, a message box will pop up asking you to fill in your Github account and password. If it is on your own computer, you can also check remember password, so you do not need to input your account password in the future.

  3. Pull code locally from a remote repository:

    1. Archived failureUpload againcancel
    2. So from here, I’m going to go with the default Settings, and I’ve also taken a screenshot, but you don’t have to look at it, you can go all the way by default

  4. Modify the pull code and push it to the remote repository:

  5. Others pull the code we just modified:

  6. Git branches are used in IDEA