In one of my projects, I used some code from an Apache version 2 licensed project in the beginning. Now I have completely removed their code and it is no longer part of my project. Do I still have to mention them in my license? Their code is visible only if you go to the older commits of my GitHub repository.
If their code appears in your repository, it will be helpful to anyone that needs to go through your old commits to have that author information available to them. However, you could probably get away with just mentioning them on GitHub, rather than mentioning them in your license since they didn't make the final product.