If you have not completed Chapter 2, Developing a Retirement Calculator, then you can check out the retirement calculator project at GitHub. If you are not already familiar with Git, I would advise that you read the documents at https://guides.github.com/introduction/git-handbook/first.
To begin the setup, go through the following steps:
Once the project is forked, click on Clone or download, and copy the URL into the clipboard.
In IntelliJ, go to File | New | Project from Version Control | GitHub and make the following edits:
Git repository URL: Paste the URL of your forked repository
Parent directory: Choose a location
Directory name: Keep retirement_calculator
Click on Clone
The project should be imported in IntelliJ. Click on git: master in the bottom-right of the screen and select Remote branches | origin/chapter2 | Checkout as new local branch. Name the new branch chapter3_yourusername to distinguish it from the final solution, which is in the origin/chapter3 branch.
Build the project with Ctrl + F9. Everything should compile.