title: Create a project's Geoserver repository
body: <p>I've been working with a previous installation of Geoserver (1.7), I have managed to update it to Geoserver 2.5 (the latest version that won't require me to update the old server's tomcat6 to tomcat7+).</p>
  
  <p>We are moving slowly to the latest version and I'm going to create a git repository to keep track of the Geoserver installation using git. But I'm not sure what to add to my <code>.gitignore</code> I don't want any passwords and users to leak into the public github repository while keeping the most complete geoserver installation so it can easily be <code>git clone</code>ed and installed.</p>
  
  <p>Currently my <code>.gitignore</code> file looks like this:</p>
  
  <pre><code>catalog.xml
  catalog.xml.*
  !catalog.xml.sample
  logs/*
  </code></pre>
  
  <p>Are there any files or directories that I should remove.</p>
  
  <p>I couldn't find any question on this topic, or any tutorial on best practices to create/maintain a geoserver repository (I was planning to add to the repository the whole tomcat6 webapp geoserver not just the <code>data</code> directory) so any help is appreciated. </p>
  
  <p>Thanks</p>
  
  <p><em>Update</em>
  In the meantime my .gitignore is looking like this: (Wondering if I should just .gitignore the whole security directory)</p>
  
  <pre><code>catalog.xml
  catalog.xml.*
  !catalog.xml.sample
  logs/*
  data/security/users.properties.*
  !data/security/users.properties.sample
  data/security/masterpw/*
  data/security/masterpw.*
  data/security/usergroup/default/users.xml
  data/security/geoserver.jceks
  </code></pre>