Added .gitignore files to branches, doc, and tags folders so that they will be added to revision control.