gallery 3 to git