How to access full source code of an old commit

We use GitHub and Bitbucket for version controlling of our any web project and theme at TechnoCrews. Once in a while, we need to fully revert back to any web project. Sometimes, it is quite impossible to track an old commit after a longer period…