1. Download the project from git
1. Download and install git, right click on the desktop and Git GUI Here appears, indicating that Git is installed successfully
2. Configure Git in Intellij IDEA
Open Settings (File-->Settings) --> enter git in the search bar , press Enter to jump to the Git configuration page --> fill in the path of git in the Path to Git executable column (generally IDEA will automatically locate it), other configuration options can be set to default --> click Test to test, the configuration is successful and the following interface will be displayed
3. Download the project from git
1) Close the current project first, and return to the welcome page
2. Switch branches from git
1.idea Get the latest branch of the current git
Git->Fetch
2. Switch the corresponding branch
In the lower right corner, click on a branch (such as master), select the corresponding branch, and click Checkout