Moving Drupal site to Git without undermining security

Events happening in the community are now at Drupal community events on 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: