gl_archive function

Archive a repository