Moving Drupal site to Git without undermining security

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
arkut's picture

I would like to move the site I administer into git, but want to make sure I do so responsibly.

What is the best practice for this -- only using a private repository on GitHub, or selectively moving files to GitHub (e.g., excluding settings.php and the database)?
Thanks!

Washington, DC Drupalers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: