The code cloud is pretty good for free, like git. First you need to register a code cloud. This is not introduced.
Click the plus sign to create a new item.
Fill in the project name.
Copy the address of your project.
Check. Manage the project as far as Git.
First Commit. The shortcut button is in the upper-right corner.
Then push the code that was just commit to the code cloud.
Fill in the address of the item you just copied, ending with git.
The first commit will fail.
Enter this line of command at the end of idea.
This time is good. We turn all the red files into green and submit them to the code cloud.
Then all the red files are turned green. We then submit the code again. This time choose commit and push.
You will encounter some hints, select commit and push all.
This is the direct submission of success.
Take a look at the code cloud. The code is all uploaded.
IntelliJ idea 2017 upload local project to code cloud