Using Github for web development that uses a database.

HI,

I am doing research into how GitHub will work with our websites. Our websites use a database to store most of its content like text and links to images etc. My question is, how will Github work with this? Is there a way to also have version control of the databases? Or is there a 3rd party plugin/program which I need to use beside Github?

I hope my question is clear enough.

Kind regards,

Robbert

Hello @robbert-cognito,

Welcome to the GitHub community forums. :slight_smile:

GitHub is version control for files mostly — in terms of version control for databases, you could store database schema changes but the actual contents of the database is probably best backed up separately on a dedicated file service since it’ll be a hefty filesize that GitHub won’t necessarily cope well with.

That said, you can store and version large files on GitHub using Git Large File Storage - https://git-lfs.github.com/

To learn more about how GitHub works, I recommend reading the guides available at https://guides.github.com/

​If there’s anything else I can help you with, let me know; so happy to help further!

Kindest regards,
Matthew

4 Likes

Awesome! I love your github support… Keep up the good work.

1 Like