First, I create new branch. Then, I add a new code line in my class. Intellij shows on the left with a different color that I added a new line. Then, I commit my code. After thi
Changes with different color as you found only show the changes which are not committed. After you commit changes, there won’t show the new lines on the left (also as you found) since there is no changes need to be committed.
If you want to compare the changes which have already committed, you can select a commit and then show diff. Detail steps as below:
Version Control -> Log -> select a commit -> show Diff.
Then you will get the changes by compare with the previous commit.