add cnfs, support git and svn