I want to link my web hosting with github

Hello github, I want to save my website data on github automatically every 24 hours. For that i need a wordpress plugin which will do that task for me. My website is build in wordpress. So can you please give me a solution or do you have any plugin for that task?