
Walking through an example might make this easier to understand.

It isn't enough to clean up your repo you also need to remove sensitive files that you could accidentally send to someone. However, if you do this often enough, you end up with what I call a bloated Git repository. Git will remove the file but keep it available in case you need it later.


You can, of course, remove files with the git rm command.
