In the past I didn't use git and just created my web-projects local on my computer using XAMPP. By that I could create databases via phpmyadmin and simply save my other website files in the htdocs-folder (F:\xampp\htdocs). After that I just saw the result in my browser using localhost.
Now I want to version control my new web-project using git (I have learned the basics already). But the problem occurred that I don't know how to version control the whole website including my databases which are stored in a completely different folder (F:\xampp\mysql\data).
Do I have to version control the whole xampp folder? Or is it even possible to version control databases?